aboutsummaryrefslogtreecommitdiff
path: root/emulators/tiemu2
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2007-10-24 23:37:25 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2007-10-24 23:37:25 +0000
commit4acc6fb2a411b291c9c210d82bafe7c62e71c77d (patch)
treebc16420eb52d65511ceb520c00171d219210a473 /emulators/tiemu2
parent97dfcc1b41c5b4581b1d73128a866beec069c5bf (diff)
downloadports-4acc6fb2a411b291c9c210d82bafe7c62e71c77d.tar.gz
ports-4acc6fb2a411b291c9c210d82bafe7c62e71c77d.zip
Notes
Diffstat (limited to 'emulators/tiemu2')
-rw-r--r--emulators/tiemu2/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/emulators/tiemu2/Makefile b/emulators/tiemu2/Makefile
index 9bd0de1ef46d..74a29a21bbbc 100644
--- a/emulators/tiemu2/Makefile
+++ b/emulators/tiemu2/Makefile
@@ -30,10 +30,13 @@ MAN1= tiemu.1
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
post-extract: .SILENT
- ${REINPLACE_CMD} -e 's,\*-\*-linux\*,\*-\*-freebsd\*,' \
- ${WRKSRC}/configure
+ ${RM} ${WRKSRC}/src/Makefile
+ ${REINPLACE_CMD} -e 's,\*-\*-linux\*,\*-\*-freebsd\*, ; \
+ s|-D.*_DISABLE_DEPRECATED||g' ${WRKSRC}/configure
${REINPLACE_CMD} -E 's,(install-data-am:).*$$,\1,' ${WRKSRC}/Makefile.in
${REINPLACE_CMD} -e 's,defined(__LINUX__),& || defined(__BSD__),' \
${WRKSRC}/src/gui/calc/pckeys.h ${WRKSRC}/src/misc/paths.h
+ ${REINPLACE_CMD} -e 's|#define .*_DISABLE_DEPRECATED||g' \
+ ${WRKSRC}/src/gui/comm.c
.include <bsd.port.mk>