aboutsummaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authoralepulver <alepulver@FreeBSD.org>2009-09-23 06:24:19 +0800
committeralepulver <alepulver@FreeBSD.org>2009-09-23 06:24:19 +0800
commit201a84ceab817834581d583018b20900b3f6b3e4 (patch)
tree8c8dd5341c4155ea4cc54c987599438c58e755da /emulators
parent6585a50e17d965911e9462fd98b070af3d238719 (diff)
downloadfreebsd-ports-gnome-201a84ceab817834581d583018b20900b3f6b3e4.tar.gz
freebsd-ports-gnome-201a84ceab817834581d583018b20900b3f6b3e4.tar.zst
freebsd-ports-gnome-201a84ceab817834581d583018b20900b3f6b3e4.zip
- Fix building with recent nasm.
Feature safe: yes (miwi)
Diffstat (limited to 'emulators')
-rw-r--r--emulators/generator-cbiere/Makefile4
-rw-r--r--emulators/generator/Makefile4
2 files changed, 8 insertions, 0 deletions
diff --git a/emulators/generator-cbiere/Makefile b/emulators/generator-cbiere/Makefile
index a913ea5a68be..7ffcd89dc2c7 100644
--- a/emulators/generator-cbiere/Makefile
+++ b/emulators/generator-cbiere/Makefile
@@ -55,6 +55,10 @@ CONFIGURE_ARGS+=--with-cmz80
CONFIGURE_ARGS+=--with-sdl-audio
.endif
+post-patch:
+ @${REINPLACE_CMD} -e '/%define %1 @UNDERSCORE@%1 /d' \
+ ${WRKSRC}/raze/raze.asm.in
+
post-install:
@${ECHO_CMD}
@${CAT} ${PKGMESSAGE}
diff --git a/emulators/generator/Makefile b/emulators/generator/Makefile
index 778117fde650..d86f7608ddbc 100644
--- a/emulators/generator/Makefile
+++ b/emulators/generator/Makefile
@@ -65,6 +65,10 @@ CONFIGURE_ARGS+=--with-cmz80
CONFIGURE_ARGS+=--with-sdl-audio
.endif
+post-patch:
+ @${REINPLACE_CMD} -e '/%define %1 @UNDERSCORE@%1 /d' \
+ ${WRKSRC}/raze/raze.asm.in
+
post-install:
@${ECHO_CMD}
@${CAT} ${PKGMESSAGE}