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/nethack33 | |
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/nethack33')
-rw-r--r-- | games/nethack33/Makefile | 7 |
1 files changed, 5 insertions, 2 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 |