summaryrefslogtreecommitdiff
path: root/emulators/xcopilot
diff options
context:
space:
mode:
authornathanw <nathanw@pkgsrc.org>1999-02-23 23:56:32 +0000
committernathanw <nathanw@pkgsrc.org>1999-02-23 23:56:32 +0000
commitf0bc35c243381b88f887834ca28ad341c302f60f (patch)
treee8d3e7d5d4835b5488eb33f3ee5224967472ca94 /emulators/xcopilot
parentc32459889ad8000296468f4c66b4df4a2d55957a (diff)
downloadpkgsrc-f0bc35c243381b88f887834ca28ad341c302f60f.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/xcopilot')
-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