diff options
author | jtb <jtb> | 2001-03-20 13:49:34 +0000 |
---|---|---|
committer | jtb <jtb> | 2001-03-20 13:49:34 +0000 |
commit | 08fec2d1532b2d85cb7941f9537213eb731a59eb (patch) | |
tree | 55197c285b57fc85e6df181c715cd6f089ef423e /math/pari | |
parent | a93409ce03998c61cfb9d4d1419994eaf2898045 (diff) | |
download | pkgsrc-08fec2d1532b2d85cb7941f9537213eb731a59eb.tar.gz |
Don't build a shared library on Alpha. The configuration process currently
isn't able to correctly determine when/how to build a shared library
on a NetBSD system. Fixes Alpha bulk build problem.
Diffstat (limited to 'math/pari')
-rw-r--r-- | math/pari/files/patch-sum | 8 | ||||
-rw-r--r-- | math/pari/patches/patch-aa | 28 |
2 files changed, 30 insertions, 6 deletions
diff --git a/math/pari/files/patch-sum b/math/pari/files/patch-sum index d15f87941d2..90c34c20e67 100644 --- a/math/pari/files/patch-sum +++ b/math/pari/files/patch-sum @@ -1,5 +1,5 @@ -$NetBSD: patch-sum,v 1.1.1.1 2001/03/07 20:57:48 jtb Exp $ +$NetBSD: patch-sum,v 1.2 2001/03/20 13:49:34 jtb Exp $ -MD5 (patch-aa) = a403b4654daa07a4095e5eb392e221de -MD5 (patch-ab) = 82f558054bd73eadd3528c0f50f11b96 -MD5 (patch-ac) = b968d5daccbe0846ffa824ec0a02339d +SHA1 (patch-aa) = 7a1ca16b1bb7d48ed3bbbeaa7e48b0c567c6caed +SHA1 (patch-ab) = 7670bfc9adc606e17e3897a7f784290813fcb294 +SHA1 (patch-ac) = 84af235f319ae108aadeedea5a25e005540160ac diff --git a/math/pari/patches/patch-aa b/math/pari/patches/patch-aa index d3d57508d2d..a81946bfc70 100644 --- a/math/pari/patches/patch-aa +++ b/math/pari/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.1.1.1 2001/03/07 20:57:51 jtb Exp $ +$NetBSD: patch-aa,v 1.2 2001/03/20 13:49:35 jtb Exp $ --- Configure.orig Mon Nov 13 14:35:43 2000 +++ Configure @@ -49,7 +49,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2001/03/07 20:57:51 jtb Exp $ + alpha) arch=alpha;; + hp300) arch=hppa;; + i386) arch=ix86;; -+ sun3) arch=m64k;; ++ sun3) arch=m68k;; + *) arch=none;; + esac;; sunos) case "$3" in 5*) osname=solaris;; esac @@ -197,6 +197,30 @@ $NetBSD: patch-aa,v 1.1.1.1 2001/03/07 20:57:51 jtb Exp $ *) LD=$CC; LDFLAGS=$cflags ;; esac +@@ -969,7 +906,7 @@ + hpux-*) DLSUFFIX=sl ;; + irix-*) DLSUFFIX=so ;; + sunos-*) DLSUFFIX=so; somake=.`echo $version| sed 's/\.//g'`.$patch ;; +- linux-*|solaris-*|*-alpha) ++ linux-*|solaris-*) + DLSUFFIX=so; somake=.$version; sodest=.$patch ;; + freebsd-*) + if test $PORTOBJFORMAT = "elf"; then +@@ -1013,10 +950,10 @@ + freebsd-*) DLLDFLAGS="-Bshareable -x" ;; + linux-*) DLLDFLAGS="-shared -soname \$@" ;; + irix-*) DLLDFLAGS="-shared -elf -no_unresolved -all" ;; +- *-alpha) DLLDFLAGS="-shared"; EXTRADLLDFLAGS='${LIBS}' +- case "$optimization" in +- full) DLLDFLAGS="$DLLDFLAGS -O3" ;; +- esac;; ++# *-alpha) DLLDFLAGS="-shared"; EXTRADLLDFLAGS='${LIBS}' ++# case "$optimization" in ++# full) DLLDFLAGS="$DLLDFLAGS -O3" ;; ++# esac;; + sunos-*) DLLDFLAGS="-assert nodefinitions" ;; + solaris-*) DLLDFLAGS="-G -h \$@" ;; + *) DLLD=;; @@ -1156,7 +1093,7 @@ dflt=$prefix/man/man1; . ./myread; mandir=$ans |