pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/smlnj11072



Module Name:    pkgsrc
Committed By:   dholland
Date:           Sun Jul  3 19:00:25 UTC 2016

Modified Files:
        pkgsrc/lang/smlnj11072: Makefile.common distinfo
        pkgsrc/lang/smlnj11072/patches: patch-config___arch-n-opsys

Log Message:
Sync 32-on-64 hacks from main smlnj package.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/lang/smlnj11072/Makefile.common \
    pkgsrc/lang/smlnj11072/distinfo
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/lang/smlnj11072/patches/patch-config___arch-n-opsys

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/smlnj11072/Makefile.common
diff -u pkgsrc/lang/smlnj11072/Makefile.common:1.3 pkgsrc/lang/smlnj11072/Makefile.common:1.4
--- pkgsrc/lang/smlnj11072/Makefile.common:1.3  Sun Jul  3 18:23:35 2016
+++ pkgsrc/lang/smlnj11072/Makefile.common      Sun Jul  3 19:00:24 2016
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.3 2016/07/03 18:23:35 dholland Exp $
+# $NetBSD: Makefile.common,v 1.4 2016/07/03 19:00:24 dholland Exp $
 #
 # used by lang/smlnj/Makefile
 
@@ -19,8 +19,8 @@ BROKEN_ON_PLATFORM+=  FreeBSD-*-sparc Fre
 BROKEN_ON_PLATFORM+=   Linux-*-sparc Linux-*-powerpc
 BROKEN_ON_PLATFORM+=   SunOS-*-i386 SunOS-*-powerpc
 
-# there are 32-on-64 hacks for amd64 on linux
-ONLY_FOR_PLATFORM+=    Linux-*-x86_64
+# there are 32-on-64 hacks for amd64 on linux and netbsd
+ONLY_FOR_PLATFORM+=    Linux-*-x86_64 NetBSD-*-x86_64
 
 .include "../../mk/bsd.prefs.mk"
 
@@ -35,7 +35,7 @@ OS=           ${LOWER_OPSYS}
 
 PLIST_VARS+=   nlffi           # not available on all platforms
 
-.if ${MACHINE_ARCH} == "i386"
+.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
 BOX=           x86
 PLIST.nlffi=   yes
 .elif ${MACHINE_ARCH} == "powerpc"
Index: pkgsrc/lang/smlnj11072/distinfo
diff -u pkgsrc/lang/smlnj11072/distinfo:1.3 pkgsrc/lang/smlnj11072/distinfo:1.4
--- pkgsrc/lang/smlnj11072/distinfo:1.3 Sun Jul  3 18:52:32 2016
+++ pkgsrc/lang/smlnj11072/distinfo     Sun Jul  3 19:00:24 2016
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2016/07/03 18:52:32 dholland Exp $
+$NetBSD: distinfo,v 1.4 2016/07/03 19:00:24 dholland Exp $
 
 SHA1 (smlnj-110.72/MLRISC.tgz) = 9bb9eb169337533304c2e0e4eb9af263d38c398a
 RMD160 (smlnj-110.72/MLRISC.tgz) = 484512df036421e216d4afed01beb978d33e16bb
@@ -83,7 +83,7 @@ SHA1 (patch-base_runtime_gc_init-gc.c) =
 SHA1 (patch-base_runtime_kernel_unix-timers.c) = 42f1d2964d5de37fdc232139f74fb9a95f21da07
 SHA1 (patch-base_runtime_mach-dep_unix-prof.c) = 1f28a05cfb271c569cfb9778e67076bbfb14d646
 SHA1 (patch-base_runtime_objs_mk.x86-netbsd) = 7d716c17c0f6a29acca7b630a1526df4d58e18cf
-SHA1 (patch-config___arch-n-opsys) = f6c30285f55a9537a785d363837ecc83cfd384b7
+SHA1 (patch-config___arch-n-opsys) = 7035758667350aa9558a14e28245d022e43369ea
 SHA1 (patch-src_runtime_gc_gc-stats.h) = af61db9d1f04e566d4c5c2bc5dcf4c6958f0ea78
 SHA1 (patch-src_runtime_gc_init-gc.c) = 5d1d5a13a51d732590dd4f375824bbc389a0525d
 SHA1 (patch-src_runtime_kernel_unix-timers.c) = 1c1db5bce0ec1e72adafb9380027884cf746c75c

Index: pkgsrc/lang/smlnj11072/patches/patch-config___arch-n-opsys
diff -u pkgsrc/lang/smlnj11072/patches/patch-config___arch-n-opsys:1.1 pkgsrc/lang/smlnj11072/patches/patch-config___arch-n-opsys:1.2
--- pkgsrc/lang/smlnj11072/patches/patch-config___arch-n-opsys:1.1      Sun Jul  3 18:49:02 2016
+++ pkgsrc/lang/smlnj11072/patches/patch-config___arch-n-opsys  Sun Jul  3 19:00:25 2016
@@ -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
      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;;



Home | Main Index | Thread Index | Old Index