summaryrefslogtreecommitdiff
path: root/lang/smlnj11072/patches
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2016-07-03 19:00:24 +0000
committerdholland <dholland@pkgsrc.org>2016-07-03 19:00:24 +0000
commit6bfd9f9606a814bc8f27dd3e465a3d33d6956e25 (patch)
tree8b82406bfe50d95feef8e7b150208e4b5c9c7f48 /lang/smlnj11072/patches
parent8c21f277d293111e8dfaac65e31bf1590aac51bb (diff)
downloadpkgsrc-6bfd9f9606a814bc8f27dd3e465a3d33d6956e25.tar.gz
Sync 32-on-64 hacks from main smlnj package.
Diffstat (limited to 'lang/smlnj11072/patches')
-rw-r--r--lang/smlnj11072/patches/patch-config___arch-n-opsys15
1 files changed, 10 insertions, 5 deletions
diff --git a/lang/smlnj11072/patches/patch-config___arch-n-opsys b/lang/smlnj11072/patches/patch-config___arch-n-opsys
index 62e479ae32b..a4c43101b73 100644
--- a/lang/smlnj11072/patches/patch-config___arch-n-opsys
+++ b/lang/smlnj11072/patches/patch-config___arch-n-opsys
@@ -1,8 +1,12 @@
-$NetBSD: patch-config___arch-n-opsys,v 1.1 2016/07/03 18:49:02 dholland Exp $
+$NetBSD: patch-config___arch-n-opsys,v 1.2 2016/07/03 19:00:25 dholland Exp $
---- config/_arch-n-opsys.orig 2008-08-13 22:37:59.000000000 +0400
-+++ config/_arch-n-opsys 2009-01-27 17:24:34.000000000 +0300
-@@ -118,13 +118,15 @@
+Fix version reporting.
+Learn about x86_64.
+Support ppc and sparc on NetBSD.
+
+--- config/_arch-n-opsys.dist 2016-07-03 18:45:43.000000000 +0000
++++ config/_arch-n-opsys
+@@ -119,13 +119,15 @@ case `uname -s` in
;;
NetBSD)
case `uname -r` in
@@ -15,8 +19,9 @@ $NetBSD: patch-config___arch-n-opsys,v 1.1 2016/07/03 18:49:02 dholland Exp $
esac
HEAP_OPSYS=bsd
- case `uname -m` in
+- *86) ARCH=x86;;
+ case `uname -p` in
- *86) ARCH=x86;;
++ *86|x86_64) ARCH=x86;;
+ powerpc) ARCH=ppc;;
+ sparc) ARCH=sparc;;
*) exit 1;;