summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authornathanw <nathanw>1999-02-23 23:56:32 +0000
committernathanw <nathanw>1999-02-23 23:56:32 +0000
commit3a782ab7c0bda77701ac8dde50c8b2a08fecfae2 (patch)
treee8d3e7d5d4835b5488eb33f3ee5224967472ca94 /emulators
parente48c9a5bffdd3df528b4085b45000b81266e9a97 (diff)
downloadpkgsrc-3a782ab7c0bda77701ac8dde50c8b2a08fecfae2.tar.gz
Remove mc68k/custom.c from distribution after unpacking. It's a generated
file that only applies on i386. Let the build system rebuild it for the current platform. Tweak the fab_custom build rule.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/xcopilot/patches/patch-ad15
-rwxr-xr-xemulators/xcopilot/scripts/post-extract9
2 files changed, 24 insertions, 0 deletions
diff --git a/emulators/xcopilot/patches/patch-ad b/emulators/xcopilot/patches/patch-ad
new file mode 100644
index 00000000000..232a4a862a4
--- /dev/null
+++ b/emulators/xcopilot/patches/patch-ad
@@ -0,0 +1,15 @@
+$NetBSD: patch-ad,v 1.1 1999/02/23 23:56:32 nathanw Exp $
+
+--- mc68k/Makefile.in.orig Tue Feb 23 18:33:06 1999
++++ mc68k/Makefile.in Tue Feb 23 18:33:15 1999
+@@ -283,8 +283,8 @@
+ maintainer-clean-generic clean mostlyclean distclean maintainer-clean
+
+
+-custom.c: fab_custom.c
+- $(CC) -o fab_custom $<
++custom.c: fab_custom.o
++ $(CC) -o fab_custom $?
+ ./fab_custom
+
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
diff --git a/emulators/xcopilot/scripts/post-extract b/emulators/xcopilot/scripts/post-extract
new file mode 100755
index 00000000000..af703b69da6
--- /dev/null
+++ b/emulators/xcopilot/scripts/post-extract
@@ -0,0 +1,9 @@
+#!/bin/sh
+#
+# $NetBSD: post-extract,v 1.1 1999/02/23 23:56:32 nathanw Exp $
+#
+
+echo "Running post-extract script"
+
+cd ${WRKSRC}
+rm -f mc68k/custom.c