diff options
author | Christian Weisgerber <naddy@FreeBSD.org> | 2002-11-12 21:27:12 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@FreeBSD.org> | 2002-11-12 21:27:12 +0000 |
commit | 884ef342c8308cd33056d4bc7713585bab8fc224 (patch) | |
tree | c64bae6b61998203a5abb4d11146657c6ca119cf | |
parent | Update to 0.1.1. (diff) |
Fix platform detection for non-i386 case.
Build successfully tested on alpha.
Notes
Notes:
svn path=/head/; revision=69977
-rw-r--r-- | math/pari/Makefile | 2 | ||||
-rw-r--r-- | math/pari/files/patch-config_arch-osname | 23 |
2 files changed, 23 insertions, 2 deletions
diff --git a/math/pari/Makefile b/math/pari/Makefile index f0fdf0ee27be..237ce4296261 100644 --- a/math/pari/Makefile +++ b/math/pari/Makefile @@ -13,8 +13,6 @@ MASTER_SITES= ftp://www.gn-50uma.de/gn/gn-50uma.de/pari-2.1/ \ MAINTAINER= yoshiaki@kt.rim.or.jp -ONLY_FOR_ARCHS= i386 - INSTALLS_SHLIB= yes HAS_CONFIGURE= yes CONFIGURE_SCRIPT= Configure diff --git a/math/pari/files/patch-config_arch-osname b/math/pari/files/patch-config_arch-osname new file mode 100644 index 000000000000..9d48a2f0ecfc --- /dev/null +++ b/math/pari/files/patch-config_arch-osname @@ -0,0 +1,23 @@ + +$FreeBSD$ + +--- config/arch-osname.orig Mon Apr 2 00:10:23 2001 ++++ config/arch-osname Tue Nov 12 22:24:03 2002 +@@ -10,11 +10,16 @@ + irix*) osname=irix;; + fx2800) arch=fx2800; osname=concentrix;; + hp*) arch=hppa; osname=hpux;; +- freebsd|os2) arch=ix86;; ++ os2) arch=ix86;; + ultrix) arch=mips;; + nextstep) arch=`file /bin/sh | sed 's/.*(for architecture \(.*\))/\1/'`;; + osf1) case "$5" in alpha) arch=alpha;; esac;; + cygwin*) arch=$HOSTTYPE; osname=cygwin;; ++ freebsd) arch=`uname -m` ++ case $arch in ++ i386) arch=ix86;; ++ sparc64) arch=sparcv9;; ++ esac;; + linux) arch=`uname -m` + case "`cat /proc/cpuinfo`" in + *SuperSparc*) arch=sparcv8_super;; |