summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authordmcmahill <dmcmahill>2002-03-31 16:24:28 +0000
committerdmcmahill <dmcmahill>2002-03-31 16:24:28 +0000
commitade535c371651922f4f5d1c17fcd46a6389114cb (patch)
tree7f250573ce690c00fe10fe9cd914285beb475230 /math
parente0a6150e46a49c153c440fe87bbf0472eb1b0509 (diff)
downloadpkgsrc-ade535c371651922f4f5d1c17fcd46a6389114cb.tar.gz
handle shared vs static builds the same on alpha as for other netbsd
platforms. Fixes long standing PLIST issues on alpha.
Diffstat (limited to 'math')
-rw-r--r--math/pari/distinfo2
-rw-r--r--math/pari/patches/patch-aa26
2 files changed, 22 insertions, 6 deletions
diff --git a/math/pari/distinfo b/math/pari/distinfo
index 957421ab40c..d139b51db5e 100644
--- a/math/pari/distinfo
+++ b/math/pari/distinfo
@@ -1,7 +1,7 @@
SHA1 (pari-2.1.1.tar.gz) = 358e90e2caf1afbd4440e3a43af827feec019b8d
Size (pari-2.1.1.tar.gz) = 1530823 bytes
-SHA1 (patch-aa) = 005a43e2997ba5ece391f9edb97ac1cfbb2cf805
+SHA1 (patch-aa) = a6ead8ee4468396d19e75d7a8367f9c171de82c9
SHA1 (patch-ab) = 97951552f9b9836d0375fd41c7abd18a5ce90238
SHA1 (patch-ac) = 84af235f319ae108aadeedea5a25e005540160ac
SHA1 (patch-ad) = 82c0532ba6bc23b1c91865591c2bdfbee144bcf9
diff --git a/math/pari/patches/patch-aa b/math/pari/patches/patch-aa
index 2d553466135..90e77156812 100644
--- a/math/pari/patches/patch-aa
+++ b/math/pari/patches/patch-aa
@@ -1,6 +1,6 @@
-$NetBSD: patch-aa,v 1.5 2001/11/30 01:18:13 wiz Exp $
+$NetBSD: patch-aa,v 1.6 2002/03/31 16:24:29 dmcmahill Exp $
---- Configure.orig Fri Apr 27 13:51:44 2001
+--- Configure.orig Fri Apr 27 09:51:44 2001
+++ Configure
@@ -169,35 +169,9 @@
pth="\
@@ -174,7 +174,23 @@ $NetBSD: patch-aa,v 1.5 2001/11/30 01:18:13 wiz Exp $
osf1-alpha)
LD=$ld; LIBS="$LIBS -lots -lc"; runpathprefix='-rpath '
LDFLAGS='-std0 -call_shared /usr/lib/cmplrs/cc/crt0.o'
-@@ -1141,11 +1068,9 @@
+@@ -970,6 +897,7 @@
+ # aix-*) DLSUFFIX=a ;; dynamic linking does not work!
+ sunos-*) sodest=$VersionMajor$VersionMinor.$patch
+ soname=$sodest;;
++ netbsd-*) DLLD=;;
+ *-alpha|solaris-*|linux-*|freebsd-*)
+ case $libpari_base in
+ pari) sodest=$version.$patch;; # released versions
+@@ -1006,6 +934,7 @@
+ aix-*) DLLDFLAGS="-r" ;;
+ hpux-*) DLLDFLAGS="-b -E" ;;
+ freebsd-*) DLLDFLAGS="-Bshareable -x" ;;
++ netbsd-*) DLLD=;;
+ linux-*) DLLDFLAGS="-shared -soname \$(LIBPARI_SONAME)" ;;
+ irix-*) DLLDFLAGS="-shared -elf -no_unresolved -all" ;;
+ *-alpha) DLLDFLAGS="-shared"; EXTRADLLDFLAGS='${LIBS}'
+@@ -1141,11 +1070,9 @@
dflt=$share_prefix; . ./myread; share_prefix=$ans
if test -z "$share_prefix"; then
@@ -187,7 +203,7 @@ $NetBSD: patch-aa,v 1.5 2001/11/30 01:18:13 wiz Exp $
fi
echo $n ..."\"gp\" executable ? $c"
-@@ -1158,7 +1083,7 @@
+@@ -1158,7 +1085,7 @@
dflt=$prefix/include/pari; . ./myread; includedir=$ans
echo $n ..."manual pages ? $c"
@@ -196,7 +212,7 @@ $NetBSD: patch-aa,v 1.5 2001/11/30 01:18:13 wiz Exp $
echo $n ..."documentation, examples, and emacs macros ? $c"
dflt=$dfltall; . ./myread; miscdir=$ans
-@@ -1222,6 +1147,7 @@
+@@ -1222,6 +1149,7 @@
case "$osname" in
*cygwin*) LDDYN="-L$libdir -lpari_dll" ; runpath="$libdir" ;
DYNLIBS=-lpari_dll ; DYNFLAGS=-Dlibpari_USE_DLL ;;