Files
pkgsrc-ng/math/gsl/patches/patch-aa
2016-11-18 22:39:22 +01:00

35 lines
918 B
Plaintext

$NetBSD: patch-aa,v 1.13 2015/11/06 11:19:48 wiz Exp $
Make sure the rpath gets set.
MirBSD support.
--- configure.orig 2015-10-31 18:42:32.000000000 +0000
+++ configure
@@ -12040,7 +12040,7 @@ fi
GSL_CFLAGS="-I$includedir"
-GSL_LIBS="-L$libdir -lgsl"
+GSL_LIBS="-Wl,-R$libdir -L$libdir -lgsl"
LIBM=
case $host in
*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
@@ -12641,7 +12641,7 @@ _ACEOF
case "$host" in
- *-*-*openbsd*)
+ *-*-*openbsd*|*-*-*mirbsd*)
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: avoiding OpenBSD system log1p - using gsl version" >&5
$as_echo "avoiding OpenBSD system log1p - using gsl version" >&6; }
;;
@@ -12791,7 +12791,7 @@ else
*-*-*netbsd*)
ac_cv_c_ieee_interface=netbsd
;;
- *-*-*openbsd*)
+ *-*-*openbsd*|*-*-*mirbsd*)
ac_cv_c_ieee_interface=openbsd
;;
*-*-*bsd*)