aboutsummaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2009-03-23 07:06:45 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2009-03-23 07:06:45 +0800
commit8fa8bb6575af357ff2b43baec0264e6ef4ee80ce (patch)
tree2cd45a01ee76380368322ab26e777bc1017fd7a6 /emulators
parent308c1a774d30afe75fa017788e03625c27dd1453 (diff)
downloadfreebsd-ports-gnome-8fa8bb6575af357ff2b43baec0264e6ef4ee80ce.tar.gz
freebsd-ports-gnome-8fa8bb6575af357ff2b43baec0264e6ef4ee80ce.tar.zst
freebsd-ports-gnome-8fa8bb6575af357ff2b43baec0264e6ef4ee80ce.zip
- Fix build on CURRENT: rename dprintf macro to not conflict with one from stdio.h
PR: 132931 Submitted by: Ganael Laplanche <ganael dot laplanche at martymac dot com> (maintainer)
Diffstat (limited to 'emulators')
-rw-r--r--emulators/jzintv/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/emulators/jzintv/Makefile b/emulators/jzintv/Makefile
index b9ad24eacf2a..224ad25226cc 100644
--- a/emulators/jzintv/Makefile
+++ b/emulators/jzintv/Makefile
@@ -41,6 +41,8 @@ PLIST_SUB+= PL_TOOLS="@comment "
post-patch:
@${REINPLACE_CMD} '227s|/usr/local/share/jzintv|${DATADIR}|' ${BUILD_WRKSRC}/config.h
@${CP} ${BUILD_WRKSRC}/Makefile.freebsd ${BUILD_WRKSRC}/Makefile
+ @${FIND} ${WRKSRC} -name "*.c" | ${XARGS} ${REINPLACE_CMD} -e 's|dprintf|dbprintf|g'
+ @${FIND} ${WRKSRC} -name "*.c.bak" -delete
do-install:
${MKDIR} ${DATADIR}/rom