From 5019ffc91bcd2ad26cf4702f15841eafc984d4b0 Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Mon, 4 Nov 2002 22:57:37 +0000 Subject: 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 :-) --- games/nethack33/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'games/nethack33') 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|||g' ${WRKSRC}/win/Qt/qt_win.cpp + @${REINPLACE_CMD} -e \ + 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/include/config.h + @${REINPLACE_CMD} -e \ + 's|||g' ${WRKSRC}/win/Qt/qt_win.cpp pre-configure: @cd ${WRKSRC}/sys/unix; ${SH} setup.sh -- cgit v1.2.3