diff options
author | nathanw <nathanw@pkgsrc.org> | 1999-02-23 23:56:32 +0000 |
---|---|---|
committer | nathanw <nathanw@pkgsrc.org> | 1999-02-23 23:56:32 +0000 |
commit | f0bc35c243381b88f887834ca28ad341c302f60f (patch) | |
tree | e8d3e7d5d4835b5488eb33f3ee5224967472ca94 | |
parent | c32459889ad8000296468f4c66b4df4a2d55957a (diff) | |
download | pkgsrc-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.
-rw-r--r-- | emulators/xcopilot/patches/patch-ad | 15 | ||||
-rwxr-xr-x | emulators/xcopilot/scripts/post-extract | 9 |
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 |