Index | Thread | Search

From:
Christian Weisgerber <naddy@mips.inka.de>
Subject:
Re: [Update] math/octave 9.2.0
To:
Volker Schlecht <openbsd-ports@schlecht.dev>
Cc:
ports@openbsd.org, steven@openbsd.org
Date:
Sun, 24 Nov 2024 19:49:31 +0100

Download raw body.

Thread
Volker Schlecht:

> --- patches/patch-configure	24 Aug 2022 19:53:39 -0000	1.18
> +++ patches/patch-configure	20 Nov 2024 20:39:33 -0000
> @@ -1,9 +1,66 @@
> -Use GNU readline as our base readline lacks rl_prefer_env_winsize.
> +* Use GNU readline as our base readline lacks rl_prefer_env_winsize
> +* Hardcode $canonical_host_type to not contain the OpenBSD release
>  
>  Index: configure
>  --- configure.orig
>  +++ configure
> -@@ -80591,7 +80591,7 @@ printf "%s\n" "$as_me: WARNING: $warn_rapidjson" >&2;}
> +@@ -7506,7 +7506,7 @@ case $host_os in *\ *) host_os=`echo "$host_os" | sed 
> +     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: configuring Octave for unknown system type" >&5
> + printf "%s\n" "$as_me: WARNING: configuring Octave for unknown system type" >&2;}
> +   fi
> +-  canonical_host_type=$host
> ++  canonical_host_type=$host_cpu-$host_vendor-$host_os
> + 
> +   if test -z "$host_cpu"; then
> +     host_cpu=unknown

Why this part?

configure --host=... should already set this.  I removed this part
of the patch, ran configure, and canonical_host_type was set to
"x86_64-unknown-openbsd".

-- 
Christian "naddy" Weisgerber                          naddy@mips.inka.de