summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2016-07-03 19:26:35 +0000
committerdholland <dholland@pkgsrc.org>2016-07-03 19:26:35 +0000
commitbfb8fc0807ba567486c962755d755f92ebf2990b (patch)
tree20490e2045bd6bc29e8cbb9df95d38047039d015
parent90def9210d5ff003b2b76ca120acc61a06b31721 (diff)
downloadpkgsrc-bfb8fc0807ba567486c962755d755f92ebf2990b.tar.gz
Store brand new configs in ${FILESDIR}, not as patches.
-rw-r--r--lang/smlnj/Makefile4
-rw-r--r--lang/smlnj/distinfo4
-rw-r--r--lang/smlnj/files/mk.ppc-netbsd25
-rw-r--r--lang/smlnj/files/mk.sparc-netbsd25
-rw-r--r--lang/smlnj/patches/patch-ab31
-rw-r--r--lang/smlnj/patches/patch-ag31
-rw-r--r--lang/smlnj11072/Makefile4
-rw-r--r--lang/smlnj11072/distinfo4
-rw-r--r--lang/smlnj11072/files/mk.ppc-netbsd25
-rw-r--r--lang/smlnj11072/files/mk.sparc-netbsd25
-rw-r--r--lang/smlnj11072/patches/patch-ab31
-rw-r--r--lang/smlnj11072/patches/patch-ag31
12 files changed, 108 insertions, 132 deletions
diff --git a/lang/smlnj/Makefile b/lang/smlnj/Makefile
index b9d9a277884..9397f6d1d97 100644
--- a/lang/smlnj/Makefile
+++ b/lang/smlnj/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2016/07/03 19:21:44 dholland Exp $
+# $NetBSD: Makefile,v 1.32 2016/07/03 19:26:35 dholland Exp $
#
DISTNAME= boot.${BOX}-unix
@@ -79,8 +79,10 @@ do-extract:
cd ${WRKDIR}/src; ${EXTRACT_CMD}
# symlink the rest of the distfiles
+# also copy in new configs
post-extract:
cd ${WRKDIR} && ${LN} -sf ${_DISTDIR}/* .
+ cp ${FILESDIR}/mk.* ${WRKDIR}/src/runtime/objs/
# make the necessary copy of the runtime, _after_ patching src
post-patch:
diff --git a/lang/smlnj/distinfo b/lang/smlnj/distinfo
index f0650c112c8..246992d12ad 100644
--- a/lang/smlnj/distinfo
+++ b/lang/smlnj/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.21 2016/07/03 19:18:46 dholland Exp $
+$NetBSD: distinfo,v 1.22 2016/07/03 19:26:35 dholland Exp $
SHA1 (smlnj-110.73/MLRISC.tgz) = 59a38a4a1c63cecf97764a99577b3f929b5ccbc9
RMD160 (smlnj-110.73/MLRISC.tgz) = dd951776482f37421a17701d67c051741691c6cb
@@ -81,11 +81,9 @@ RMD160 (smlnj-110.73/trace-debug-profile.tgz) = e6cdae53b060c85782424d792bdf4673
SHA512 (smlnj-110.73/trace-debug-profile.tgz) = f806a36a2d9d500af0975f8d2ebb38b8189fc9732f3163ad3bc3c7b7fd13cba965ab41754b4e37ef576005b2733b41cf291fb2d4ae5c47ec2a51a751507b911f
Size (smlnj-110.73/trace-debug-profile.tgz) = 3899 bytes
SHA1 (patch-aa) = f738a6284236158b6b95928768fe1213cc77fc20
-SHA1 (patch-ab) = 2c9a448c8566d87a2d01528cf6e38ed0dfd9328b
SHA1 (patch-ad) = 67802bbdf42408c60bbce4087f20d000a3445677
SHA1 (patch-ae) = 0ba98fb2b012daf75dcc4ac416cbf0fd3182114b
SHA1 (patch-af) = 3a1c1cadd26eb246adafff823d49b4ab7161793b
-SHA1 (patch-ag) = 1dd473bf9b21cd6218945c119fb08230dcd3c4bf
SHA1 (patch-ah) = 93d7453dc82d91d29662cc02dd8ab9e8b8987393
SHA1 (patch-ai) = 6a15a5415bd73e6618bc45b9a7eb021543e9cecd
SHA1 (patch-aj) = 6318548da4c943c60fe63d41529803ea3fa2c96e
diff --git a/lang/smlnj/files/mk.ppc-netbsd b/lang/smlnj/files/mk.ppc-netbsd
new file mode 100644
index 00000000000..b0a0420b8cd
--- /dev/null
+++ b/lang/smlnj/files/mk.ppc-netbsd
@@ -0,0 +1,25 @@
+# mk.ppc-netbsd
+# $NetBSD: mk.ppc-netbsd,v 1.1 2016/07/03 19:26:35 dholland Exp $
+#
+
+SHELL = /bin/sh
+
+MAKE = gmake
+GCC = gcc
+ARFLAGS = Trcv
+CFLAGS = @CFLAGS@
+LDFLAGS=
+CPP = $(GCC) -x c -E -P
+
+#XOBJS = xmonitor.o
+#LD_LIBS = -lX11
+#BASE_DEFS = -DHEAP_MONITOR -DPOLL_DEBUG
+XOBJS =
+XLIBS =
+DEFS = $(BASE_DEFS) -DHOST_PPC -DTARGET_PPC -DOPSYS_UNIX -DOPSYS_NETBSD
+TARGET = PPC
+VERSION = v-ppc-netbsd
+RUNTIME = run.ppc-netbsd
+
+all:
+ ($(MAKE) RUNTIME="$(RUNTIME)" MAKE="$(MAKE)" VERSION="$(VERSION)" CC="$(CC)" CFLAGS="$(CFLAGS)" CPP="$(CPP)" AS="$(AS)" AR="$(AR)" RANLIB="$(RANLIB)" TARGET=$(TARGET) DEFS="$(DEFS)" XOBJS="$(XOBJS)" XLIBS="$(XLIBS)" LD_LIBS="$(LD_LIBS)" $(RUNTIME))
diff --git a/lang/smlnj/files/mk.sparc-netbsd b/lang/smlnj/files/mk.sparc-netbsd
new file mode 100644
index 00000000000..db919de2349
--- /dev/null
+++ b/lang/smlnj/files/mk.sparc-netbsd
@@ -0,0 +1,25 @@
+# mk.sparc-netbsd
+# $NetBSD: mk.sparc-netbsd,v 1.1 2016/07/03 19:26:35 dholland Exp $
+#
+
+SHELL = /bin/sh
+
+MAKE = gmake
+GCC = gcc
+ARFLAGS = Trcv
+CFLAGS = @CFLAGS@
+LDFLAGS=
+CPP = $(GCC) -x c -E -P
+
+#XOBJS = xmonitor.o
+#LD_LIBS = -lX11
+#BASE_DEFS = -DHEAP_MONITOR -DPOLL_DEBUG
+XOBJS =
+XLIBS =
+DEFS = $(BASE_DEFS) -DHOST_SPARC -DTARGET_SPARC -DOPSYS_UNIX -DOPSYS_NETBSD -DCALLEESAVE=3 -DUNBOXEDFLOAT=1
+TARGET = SPARC
+VERSION = v-sparc-netbsd
+RUNTIME = run.sparc-netbsd
+
+all:
+ ($(MAKE) RUNTIME="$(RUNTIME)" MAKE="$(MAKE)" VERSION="$(VERSION)" CC="$(CC)" CFLAGS="$(CFLAGS)" CPP="$(CPP)" AS="$(AS)" AR="$(AR)" RANLIB="$(RANLIB)" TARGET=$(TARGET) DEFS="$(DEFS)" XOBJS="$(XOBJS)" XLIBS="$(XLIBS)" LD_LIBS="$(LD_LIBS)" $(RUNTIME))
diff --git a/lang/smlnj/patches/patch-ab b/lang/smlnj/patches/patch-ab
deleted file mode 100644
index c81706fb847..00000000000
--- a/lang/smlnj/patches/patch-ab
+++ /dev/null
@@ -1,31 +0,0 @@
-$NetBSD: patch-ab,v 1.3 2016/04/14 22:04:47 dholland Exp $
-
-Support for NetBSD on PPC.
-
---- /dev/null
-+++ src/runtime/objs/mk.ppc-netbsd
-@@ -0,0 +1,24 @@
-+# mk.ppc-netbsd
-+#
-+
-+SHELL = /bin/sh
-+
-+MAKE = gmake
-+GCC = gcc
-+ARFLAGS = Trcv
-+CFLAGS = @CFLAGS@
-+LDFLAGS=
-+CPP = $(GCC) -x c -E -P
-+
-+#XOBJS = xmonitor.o
-+#LD_LIBS = -lX11
-+#BASE_DEFS = -DHEAP_MONITOR -DPOLL_DEBUG
-+XOBJS =
-+XLIBS =
-+DEFS = $(BASE_DEFS) -DHOST_PPC -DTARGET_PPC -DOPSYS_UNIX -DOPSYS_NETBSD
-+TARGET = PPC
-+VERSION = v-ppc-netbsd
-+RUNTIME = run.ppc-netbsd
-+
-+all:
-+ ($(MAKE) RUNTIME="$(RUNTIME)" MAKE="$(MAKE)" VERSION="$(VERSION)" CC="$(CC)" CFLAGS="$(CFLAGS)" CPP="$(CPP)" AS="$(AS)" AR="$(AR)" RANLIB="$(RANLIB)" TARGET=$(TARGET) DEFS="$(DEFS)" XOBJS="$(XOBJS)" XLIBS="$(XLIBS)" LD_LIBS="$(LD_LIBS)" $(RUNTIME))
diff --git a/lang/smlnj/patches/patch-ag b/lang/smlnj/patches/patch-ag
deleted file mode 100644
index 2589ccdc159..00000000000
--- a/lang/smlnj/patches/patch-ag
+++ /dev/null
@@ -1,31 +0,0 @@
-$NetBSD: patch-ag,v 1.3 2016/04/14 22:04:47 dholland Exp $
-
-Add config for NetBSD on sparc.
-
---- src/runtime/objs/mk.sparc-netbsd.orig Thu Sep 19 03:54:01 2002
-+++ src/runtime/objs/mk.sparc-netbsd
-@@ -0,0 +1,24 @@
-+# mk.sparc-netbsd
-+#
-+
-+SHELL = /bin/sh
-+
-+MAKE = gmake
-+GCC = gcc
-+ARFLAGS = Trcv
-+CFLAGS = @CFLAGS@
-+LDFLAGS=
-+CPP = $(GCC) -x c -E -P
-+
-+#XOBJS = xmonitor.o
-+#LD_LIBS = -lX11
-+#BASE_DEFS = -DHEAP_MONITOR -DPOLL_DEBUG
-+XOBJS =
-+XLIBS =
-+DEFS = $(BASE_DEFS) -DHOST_SPARC -DTARGET_SPARC -DOPSYS_UNIX -DOPSYS_NETBSD -DCALLEESAVE=3 -DUNBOXEDFLOAT=1
-+TARGET = SPARC
-+VERSION = v-sparc-netbsd
-+RUNTIME = run.sparc-netbsd
-+
-+all:
-+ ($(MAKE) RUNTIME="$(RUNTIME)" MAKE="$(MAKE)" VERSION="$(VERSION)" CC="$(CC)" CFLAGS="$(CFLAGS)" CPP="$(CPP)" AS="$(AS)" AR="$(AR)" RANLIB="$(RANLIB)" TARGET=$(TARGET) DEFS="$(DEFS)" XOBJS="$(XOBJS)" XLIBS="$(XLIBS)" LD_LIBS="$(LD_LIBS)" $(RUNTIME))
diff --git a/lang/smlnj11072/Makefile b/lang/smlnj11072/Makefile
index 019abd1036b..b592d2ad192 100644
--- a/lang/smlnj11072/Makefile
+++ b/lang/smlnj11072/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2016/07/03 19:21:44 dholland Exp $
+# $NetBSD: Makefile,v 1.8 2016/07/03 19:26:35 dholland Exp $
#
DISTNAME= boot.${BOX}-unix
@@ -78,8 +78,10 @@ do-extract:
cd ${WRKDIR}/src; ${EXTRACT_CMD}
# symlink the rest of the distfiles
+# also copy in new configs
post-extract:
cd ${WRKDIR} && ${LN} -sf ${_DISTDIR}/* .
+ cp ${FILESDIR}/mk.* ${WRKDIR}/src/runtime/objs/
# make the necessary copy of the runtime, _after_ patching src
post-patch:
diff --git a/lang/smlnj11072/distinfo b/lang/smlnj11072/distinfo
index 95a4edd805a..78daf599dcf 100644
--- a/lang/smlnj11072/distinfo
+++ b/lang/smlnj11072/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.6 2016/07/03 19:18:47 dholland Exp $
+$NetBSD: distinfo,v 1.7 2016/07/03 19:26:35 dholland Exp $
SHA1 (smlnj-110.72/MLRISC.tgz) = 9bb9eb169337533304c2e0e4eb9af263d38c398a
RMD160 (smlnj-110.72/MLRISC.tgz) = 484512df036421e216d4afed01beb978d33e16bb
@@ -61,11 +61,9 @@ SHA1 (smlnj-110.72/trace-debug-profile.tgz) = e80d8076d961a36e067b559c0227956285
RMD160 (smlnj-110.72/trace-debug-profile.tgz) = 6c85734aefd0672a645497550dacf56f503dd726
Size (smlnj-110.72/trace-debug-profile.tgz) = 3905 bytes
SHA1 (patch-aa) = f738a6284236158b6b95928768fe1213cc77fc20
-SHA1 (patch-ab) = 2c9a448c8566d87a2d01528cf6e38ed0dfd9328b
SHA1 (patch-ad) = 67802bbdf42408c60bbce4087f20d000a3445677
SHA1 (patch-ae) = 0ba98fb2b012daf75dcc4ac416cbf0fd3182114b
SHA1 (patch-af) = 3a1c1cadd26eb246adafff823d49b4ab7161793b
-SHA1 (patch-ag) = 1dd473bf9b21cd6218945c119fb08230dcd3c4bf
SHA1 (patch-ah) = 93d7453dc82d91d29662cc02dd8ab9e8b8987393
SHA1 (patch-ai) = 6a15a5415bd73e6618bc45b9a7eb021543e9cecd
SHA1 (patch-aj) = 6318548da4c943c60fe63d41529803ea3fa2c96e
diff --git a/lang/smlnj11072/files/mk.ppc-netbsd b/lang/smlnj11072/files/mk.ppc-netbsd
new file mode 100644
index 00000000000..b0a0420b8cd
--- /dev/null
+++ b/lang/smlnj11072/files/mk.ppc-netbsd
@@ -0,0 +1,25 @@
+# mk.ppc-netbsd
+# $NetBSD: mk.ppc-netbsd,v 1.1 2016/07/03 19:26:35 dholland Exp $
+#
+
+SHELL = /bin/sh
+
+MAKE = gmake
+GCC = gcc
+ARFLAGS = Trcv
+CFLAGS = @CFLAGS@
+LDFLAGS=
+CPP = $(GCC) -x c -E -P
+
+#XOBJS = xmonitor.o
+#LD_LIBS = -lX11
+#BASE_DEFS = -DHEAP_MONITOR -DPOLL_DEBUG
+XOBJS =
+XLIBS =
+DEFS = $(BASE_DEFS) -DHOST_PPC -DTARGET_PPC -DOPSYS_UNIX -DOPSYS_NETBSD
+TARGET = PPC
+VERSION = v-ppc-netbsd
+RUNTIME = run.ppc-netbsd
+
+all:
+ ($(MAKE) RUNTIME="$(RUNTIME)" MAKE="$(MAKE)" VERSION="$(VERSION)" CC="$(CC)" CFLAGS="$(CFLAGS)" CPP="$(CPP)" AS="$(AS)" AR="$(AR)" RANLIB="$(RANLIB)" TARGET=$(TARGET) DEFS="$(DEFS)" XOBJS="$(XOBJS)" XLIBS="$(XLIBS)" LD_LIBS="$(LD_LIBS)" $(RUNTIME))
diff --git a/lang/smlnj11072/files/mk.sparc-netbsd b/lang/smlnj11072/files/mk.sparc-netbsd
new file mode 100644
index 00000000000..db919de2349
--- /dev/null
+++ b/lang/smlnj11072/files/mk.sparc-netbsd
@@ -0,0 +1,25 @@
+# mk.sparc-netbsd
+# $NetBSD: mk.sparc-netbsd,v 1.1 2016/07/03 19:26:35 dholland Exp $
+#
+
+SHELL = /bin/sh
+
+MAKE = gmake
+GCC = gcc
+ARFLAGS = Trcv
+CFLAGS = @CFLAGS@
+LDFLAGS=
+CPP = $(GCC) -x c -E -P
+
+#XOBJS = xmonitor.o
+#LD_LIBS = -lX11
+#BASE_DEFS = -DHEAP_MONITOR -DPOLL_DEBUG
+XOBJS =
+XLIBS =
+DEFS = $(BASE_DEFS) -DHOST_SPARC -DTARGET_SPARC -DOPSYS_UNIX -DOPSYS_NETBSD -DCALLEESAVE=3 -DUNBOXEDFLOAT=1
+TARGET = SPARC
+VERSION = v-sparc-netbsd
+RUNTIME = run.sparc-netbsd
+
+all:
+ ($(MAKE) RUNTIME="$(RUNTIME)" MAKE="$(MAKE)" VERSION="$(VERSION)" CC="$(CC)" CFLAGS="$(CFLAGS)" CPP="$(CPP)" AS="$(AS)" AR="$(AR)" RANLIB="$(RANLIB)" TARGET=$(TARGET) DEFS="$(DEFS)" XOBJS="$(XOBJS)" XLIBS="$(XLIBS)" LD_LIBS="$(LD_LIBS)" $(RUNTIME))
diff --git a/lang/smlnj11072/patches/patch-ab b/lang/smlnj11072/patches/patch-ab
deleted file mode 100644
index f77034099d7..00000000000
--- a/lang/smlnj11072/patches/patch-ab
+++ /dev/null
@@ -1,31 +0,0 @@
-$NetBSD: patch-ab,v 1.2 2016/07/03 18:33:36 dholland Exp $
-
-Support for NetBSD on PPC.
-
---- /dev/null
-+++ src/runtime/objs/mk.ppc-netbsd
-@@ -0,0 +1,24 @@
-+# mk.ppc-netbsd
-+#
-+
-+SHELL = /bin/sh
-+
-+MAKE = gmake
-+GCC = gcc
-+ARFLAGS = Trcv
-+CFLAGS = @CFLAGS@
-+LDFLAGS=
-+CPP = $(GCC) -x c -E -P
-+
-+#XOBJS = xmonitor.o
-+#LD_LIBS = -lX11
-+#BASE_DEFS = -DHEAP_MONITOR -DPOLL_DEBUG
-+XOBJS =
-+XLIBS =
-+DEFS = $(BASE_DEFS) -DHOST_PPC -DTARGET_PPC -DOPSYS_UNIX -DOPSYS_NETBSD
-+TARGET = PPC
-+VERSION = v-ppc-netbsd
-+RUNTIME = run.ppc-netbsd
-+
-+all:
-+ ($(MAKE) RUNTIME="$(RUNTIME)" MAKE="$(MAKE)" VERSION="$(VERSION)" CC="$(CC)" CFLAGS="$(CFLAGS)" CPP="$(CPP)" AS="$(AS)" AR="$(AR)" RANLIB="$(RANLIB)" TARGET=$(TARGET) DEFS="$(DEFS)" XOBJS="$(XOBJS)" XLIBS="$(XLIBS)" LD_LIBS="$(LD_LIBS)" $(RUNTIME))
diff --git a/lang/smlnj11072/patches/patch-ag b/lang/smlnj11072/patches/patch-ag
deleted file mode 100644
index 184daa47b0d..00000000000
--- a/lang/smlnj11072/patches/patch-ag
+++ /dev/null
@@ -1,31 +0,0 @@
-$NetBSD: patch-ag,v 1.2 2016/07/03 18:33:36 dholland Exp $
-
-Add config for NetBSD on sparc.
-
---- src/runtime/objs/mk.sparc-netbsd.orig Thu Sep 19 03:54:01 2002
-+++ src/runtime/objs/mk.sparc-netbsd
-@@ -0,0 +1,24 @@
-+# mk.sparc-netbsd
-+#
-+
-+SHELL = /bin/sh
-+
-+MAKE = gmake
-+GCC = gcc
-+ARFLAGS = Trcv
-+CFLAGS = @CFLAGS@
-+LDFLAGS=
-+CPP = $(GCC) -x c -E -P
-+
-+#XOBJS = xmonitor.o
-+#LD_LIBS = -lX11
-+#BASE_DEFS = -DHEAP_MONITOR -DPOLL_DEBUG
-+XOBJS =
-+XLIBS =
-+DEFS = $(BASE_DEFS) -DHOST_SPARC -DTARGET_SPARC -DOPSYS_UNIX -DOPSYS_NETBSD -DCALLEESAVE=3 -DUNBOXEDFLOAT=1
-+TARGET = SPARC
-+VERSION = v-sparc-netbsd
-+RUNTIME = run.sparc-netbsd
-+
-+all:
-+ ($(MAKE) RUNTIME="$(RUNTIME)" MAKE="$(MAKE)" VERSION="$(VERSION)" CC="$(CC)" CFLAGS="$(CFLAGS)" CPP="$(CPP)" AS="$(AS)" AR="$(AR)" RANLIB="$(RANLIB)" TARGET=$(TARGET) DEFS="$(DEFS)" XOBJS="$(XOBJS)" XLIBS="$(XLIBS)" LD_LIBS="$(LD_LIBS)" $(RUNTIME))