summaryrefslogtreecommitdiffstats
path: root/games/unnethack
diff options
context:
space:
mode:
Diffstat (limited to 'games/unnethack')
-rw-r--r--games/unnethack/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/games/unnethack/Makefile b/games/unnethack/Makefile
index 4a2b1bf..f5debfe 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
OpenPOWER on IntegriCloud