diff options
author | naddy <naddy@FreeBSD.org> | 2002-11-13 05:27:12 +0800 |
---|---|---|
committer | naddy <naddy@FreeBSD.org> | 2002-11-13 05:27:12 +0800 |
commit | 4343186182ec92f8c868ed169146759e0bc6ed3d (patch) | |
tree | 1463ba39c9576a374af7cc28ed748d1981467720 /math/pari | |
parent | 587b23a1232bc253f7dfcf90fcf9c348a5634151 (diff) | |
download | freebsd-ports-gnome-4343186182ec92f8c868ed169146759e0bc6ed3d.tar.gz freebsd-ports-gnome-4343186182ec92f8c868ed169146759e0bc6ed3d.tar.zst freebsd-ports-gnome-4343186182ec92f8c868ed169146759e0bc6ed3d.zip |
Fix platform detection for non-i386 case.
Build successfully tested on alpha.
Diffstat (limited to 'math/pari')
-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;; |