From f0bc35c243381b88f887834ca28ad341c302f60f Mon Sep 17 00:00:00 2001 From: nathanw Date: Tue, 23 Feb 1999 23:56:32 +0000 Subject: 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. --- emulators/xcopilot/patches/patch-ad | 15 +++++++++++++++ emulators/xcopilot/scripts/post-extract | 9 +++++++++ 2 files changed, 24 insertions(+) create mode 100644 emulators/xcopilot/patches/patch-ad create mode 100755 emulators/xcopilot/scripts/post-extract (limited to 'emulators') 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 -- cgit v1.2.3