aboutsummaryrefslogtreecommitdiffstats
path: root/games/nethack33
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2002-11-05 06:57:37 +0800
committeredwin <edwin@FreeBSD.org>2002-11-05 06:57:37 +0800
commit64a5e0f37f47ca9274d3cc6633ed687cc7dc23ca (patch)
tree664d2ba6932861fa84d22c638a1035a3fcd6a962 /games/nethack33
parent8d98f5042d9d3f5d1c76b52d1826c997af60472d (diff)
downloadfreebsd-ports-gnome-64a5e0f37f47ca9274d3cc6633ed687cc7dc23ca.tar.gz
freebsd-ports-gnome-64a5e0f37f47ca9274d3cc6633ed687cc7dc23ca.tar.zst
freebsd-ports-gnome-64a5e0f37f47ca9274d3cc6633ed687cc7dc23ca.zip
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 :-)
Diffstat (limited to 'games/nethack33')
-rw-r--r--games/nethack33/Makefile7
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