03e70deddc
pkgsrc changes: - Adding license (GPLv2) - Adding X11 and GMP support (latter via option) - Adding patches to support math/p5-Math-Pari can be build without rebuilding pari again Upstream changes: * Primarily a lot of bug fixes * Plotting API reworked * More targets are supported
36 lines
828 B
Text
36 lines
828 B
Text
$NetBSD: patch-ad,v 1.2 2010/02/06 10:37:06 sno Exp $
|
|
|
|
--- config/get_libpth.orig 2008-01-16 15:56:55.000000000 +0000
|
|
+++ config/get_libpth
|
|
@@ -1,7 +1,3 @@
|
|
-case "$sizeof_long" in
|
|
- 8) addlib64="/usr/local/lib64 /lib64 /usr/lib64"
|
|
-esac
|
|
-
|
|
libpth="`echo $LIBRARY_PATH | sed -e \"s%\([^$dir_sep]*\)$dir_sep*%\1 %g\"`"
|
|
case "$osname" in
|
|
cygwin*)
|
|
@@ -34,21 +30,9 @@ case "$osname" in
|
|
"
|
|
fi;;
|
|
os2) libpth=`echo $libpth | sed 's,\\\\,/,g'`;;
|
|
- *) libpth="$libpth $addlib64\
|
|
- /usr/local/lib\
|
|
- /lib\
|
|
+ *) libpth="
|
|
/usr/lib\
|
|
- /opt/lib\
|
|
- /opt/local/lib\
|
|
- /opt/gnu/lib\
|
|
- /lib/pa1.1\
|
|
- /usr/lib/large\
|
|
- /lib/large\
|
|
- /usr/lib/small\
|
|
- /lib/small\
|
|
- /usr/ccs/lib\
|
|
- /usc/ucblib\
|
|
- /usr/shlib\
|
|
+ $LOCALBASE/lib\
|
|
.\
|
|
";;
|
|
esac
|