diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2002-11-04 22:57:37 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2002-11-04 22:57:37 +0000 |
commit | 5019ffc91bcd2ad26cf4702f15841eafc984d4b0 (patch) | |
tree | e28e63fdf22fe3c0a77219f1724ab25c046c8bc1 /games | |
parent | Step two in making print/acroread and print/acroread4 working again (diff) |
Half of these ones missed yesterday while converting to USE_REINPLACE.
The other half needs perl to build.
Noticed on bento and others (full mailbox :-)
Notes
Notes:
svn path=/head/; revision=69475
Diffstat (limited to 'games')
-rw-r--r-- | games/nethack33/Makefile | 7 | ||||
-rw-r--r-- | games/slashem-tty/Makefile | 4 | ||||
-rw-r--r-- | games/unnethack/Makefile | 4 |
3 files changed, 11 insertions, 4 deletions
diff --git a/games/nethack33/Makefile b/games/nethack33/Makefile index 43a4fdffe468..de0a9370a383 100644 --- a/games/nethack33/Makefile +++ b/games/nethack33/Makefile @@ -20,6 +20,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} NO_LATEST_LINK= yes USE_GMAKE= yes +USE_REINPLACE= yes MAKE_ENV= CXX="${CXX}" GRAPHICS="${GRAPHICS}" MAN6= dgn_comp.6 dlb.6 lev_comp.6 nethack.6 recover.6 @@ -65,8 +66,10 @@ pre-everything:: .endif post-patch: - @${PERL} -pi -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/include/config.h - @${PERL} -pi -e 's|<malloc.h>|<stdlib.h>|g' ${WRKSRC}/win/Qt/qt_win.cpp + @${REINPLACE_CMD} -e \ + 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/include/config.h + @${REINPLACE_CMD} -e \ + 's|<malloc.h>|<stdlib.h>|g' ${WRKSRC}/win/Qt/qt_win.cpp pre-configure: @cd ${WRKSRC}/sys/unix; ${SH} setup.sh diff --git a/games/slashem-tty/Makefile b/games/slashem-tty/Makefile index 4a2b1bf7609d..f5debfea5bf4 100644 --- a/games/slashem-tty/Makefile +++ b/games/slashem-tty/Makefile @@ -16,12 +16,14 @@ DISTNAME= se${PORTVERSION:S/.//g:L} MAINTAINER= adam-ports@blacktabby.org USE_GMAKE= yes +USE_REINPLACE= yes MAN6= dgn_comp.6 dlb.6 lev_comp.6 slashem-tty.6 recover.6 WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/([A-Z])./\1/g} post-patch: - ${PERL} -pi -e "s@/usr/local@${PREFIX}@g" ${WRKSRC}/include/config.h + ${REINPLACE_CMD} -e \ + "s@/usr/local@${PREFIX}@g" ${WRKSRC}/include/config.h pre-configure: @cd ${WRKSRC}/sys/unix; ${SH} setup.sh diff --git a/games/unnethack/Makefile b/games/unnethack/Makefile index 4a2b1bf7609d..f5debfea5bf4 100644 --- a/games/unnethack/Makefile +++ b/games/unnethack/Makefile @@ -16,12 +16,14 @@ DISTNAME= se${PORTVERSION:S/.//g:L} MAINTAINER= adam-ports@blacktabby.org USE_GMAKE= yes +USE_REINPLACE= yes MAN6= dgn_comp.6 dlb.6 lev_comp.6 slashem-tty.6 recover.6 WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/([A-Z])./\1/g} post-patch: - ${PERL} -pi -e "s@/usr/local@${PREFIX}@g" ${WRKSRC}/include/config.h + ${REINPLACE_CMD} -e \ + "s@/usr/local@${PREFIX}@g" ${WRKSRC}/include/config.h pre-configure: @cd ${WRKSRC}/sys/unix; ${SH} setup.sh |