summaryrefslogtreecommitdiff
path: root/lang/RScheme/patches
diff options
context:
space:
mode:
authorjmc <jmc@pkgsrc.org>2002-03-06 06:48:15 +0000
committerjmc <jmc@pkgsrc.org>2002-03-06 06:48:15 +0000
commit2a9687628e41d7acfa020f12593dcacaa619b448 (patch)
treeb8ce599f01f66ac78105e227dac43d4fd815d471 /lang/RScheme/patches
parent1a82ee46fcffe07ac7f5703cccd90b3eafa0b8da (diff)
downloadpkgsrc-2a9687628e41d7acfa020f12593dcacaa619b448.tar.gz
Add functionality so the module .so's get built and installed as well. Bump to
nb2 for version
Diffstat (limited to 'lang/RScheme/patches')
-rw-r--r--lang/RScheme/patches/patch-ae13
-rw-r--r--lang/RScheme/patches/patch-af17
-rw-r--r--lang/RScheme/patches/patch-ag17
3 files changed, 47 insertions, 0 deletions
diff --git a/lang/RScheme/patches/patch-ae b/lang/RScheme/patches/patch-ae
new file mode 100644
index 00000000000..7ced8770061
--- /dev/null
+++ b/lang/RScheme/patches/patch-ae
@@ -0,0 +1,13 @@
+$NetBSD: patch-ae,v 1.1 2002/03/06 06:48:16 jmc Exp $
+
+--- packages/pkg-bld.orig Tue Jan 12 22:03:47 1999
++++ packages/pkg-bld Wed Mar 6 05:48:19 2002
+@@ -41,7 +41,7 @@
+
+ if test -d src/pkg/$PKG
+ then cd src/pkg/$PKG
+- make INSTALL_DIR=$INSTALL_DIR install
++ make INSTALL_DIR=$INSTALL_DIR install install.so
+ else cp -p src/pkg/modules/$P.mif $INSTALL_DIR/resource/modules
+ cp -p src/pkg/modules/$P.mx $INSTALL_DIR/resource/modules
+ fi
diff --git a/lang/RScheme/patches/patch-af b/lang/RScheme/patches/patch-af
new file mode 100644
index 00000000000..6e453d6a9c8
--- /dev/null
+++ b/lang/RScheme/patches/patch-af
@@ -0,0 +1,17 @@
+$NetBSD: patch-af,v 1.1 2002/03/06 06:48:16 jmc Exp $
+
+--- stage0/configure.orig Mon Nov 27 02:03:11 2000
++++ stage0/configure Wed Mar 6 06:24:01 2002
+@@ -2762,8 +2762,10 @@
+ $(SO_PRODUCT): $(SOFILES)
+ $(CC) -shared $(SOFILES) -o $(SO_PRODUCT) $(XLFLAGS)
+
+-%.so: %.c
+- $(CC) -c $(CPPFLAGS) $(CFLAGS) -fPIC -o $@ $^
++.SUFFIXES: .so
++
++.c.so:
++ $(CC) -c $(CPPFLAGS) $(CFLAGS) -fPIC -o ${.TARGET} ${.IMPSRC}
+
+ install.so: $(SO_PRODUCT)
+ cp $(SO_PRODUCT) $(INSTALL_DIR)/resource/modules
diff --git a/lang/RScheme/patches/patch-ag b/lang/RScheme/patches/patch-ag
new file mode 100644
index 00000000000..f7e292c2876
--- /dev/null
+++ b/lang/RScheme/patches/patch-ag
@@ -0,0 +1,17 @@
+$NetBSD: patch-ag,v 1.1 2002/03/06 06:48:17 jmc Exp $
+
+--- handc/configure.orig Mon Nov 27 02:03:11 2000
++++ handc/configure Wed Mar 6 06:23:50 2002
+@@ -2762,8 +2762,10 @@
+ $(SO_PRODUCT): $(SOFILES)
+ $(CC) -shared $(SOFILES) -o $(SO_PRODUCT) $(XLFLAGS)
+
+-%.so: %.c
+- $(CC) -c $(CPPFLAGS) $(CFLAGS) -fPIC -o $@ $^
++.SUFFIXES: .so
++
++.c.so:
++ $(CC) -c $(CPPFLAGS) $(CFLAGS) -fPIC -o ${.TARGET} ${.IMPSRC}
+
+ install.so: $(SO_PRODUCT)
+ cp $(SO_PRODUCT) $(INSTALL_DIR)/resource/modules