summaryrefslogtreecommitdiff
path: root/math/pari/patches
diff options
context:
space:
mode:
authorjtb <jtb@pkgsrc.org>2001-03-20 13:49:34 +0000
committerjtb <jtb@pkgsrc.org>2001-03-20 13:49:34 +0000
commit7d9e439ffa57258c4da3ea823c2abf5374494ba4 (patch)
tree55197c285b57fc85e6df181c715cd6f089ef423e /math/pari/patches
parenta8633483d48fc042d1fca4be3a91f40d2024cbfa (diff)
downloadpkgsrc-7d9e439ffa57258c4da3ea823c2abf5374494ba4.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/patches')
-rw-r--r--math/pari/patches/patch-aa28
1 files changed, 26 insertions, 2 deletions
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