summaryrefslogtreecommitdiff
path: root/emulators/xm7/Makefile
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2001-12-30 21:44:25 +0000
committeragc <agc@pkgsrc.org>2001-12-30 21:44:25 +0000
commita9f8e1342d053a7f9271a3ac28ef04be4117024f (patch)
tree9d5918c5d35641b276e8572ab2f1706c83ce6dcd /emulators/xm7/Makefile
parent89790776df17bc2e1ce6db7d656a44a859d4ceb7 (diff)
downloadpkgsrc-a9f8e1342d053a7f9271a3ac28ef04be4117024f.tar.gz
Correct the name of the "makefile.x11" file in a patch and the package
Makefile. Ensure that a patch to convert.sh applies cleanly by diff'ing against a clean copy of the original file. Also, strip the DOS-style \r\n line-terminators on cpu.c before building, so that ordinary cpp line continuations work properly. Fixes a problem shown up on latest 1.5.2 bulk build.
Diffstat (limited to 'emulators/xm7/Makefile')
-rw-r--r--emulators/xm7/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/emulators/xm7/Makefile b/emulators/xm7/Makefile
index f83b0bcd990..fc8363941b7 100644
--- a/emulators/xm7/Makefile
+++ b/emulators/xm7/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2001/03/27 03:19:56 hubertf Exp $
+# $NetBSD: Makefile,v 1.5 2001/12/30 21:44:25 agc Exp $
#
DISTNAME= xm71010s
@@ -24,11 +24,14 @@ LHA= lha
EXTRACT_CMD= ${LHA} xqte ${DOWNLOADED_DISTFILE}
NO_CONFIGURE= yes
-MAKEFILE= Makefile.X11
+MAKEFILE= makefile.x11
post-extract:
@cd ${WRKDIR}; ${MV} linux/* vm
+pre-build:
+ cd ${WRKSRC}; ${MV} cpu.c cpu.c-msdos && ${SED} -e 's|.$$||g' cpu.c-msdos > cpu.c
+
do-install:
${INSTALL_PROGRAM} ${WRKDIR}/vm/xm7 ${PREFIX}/bin