aboutsummaryrefslogtreecommitdiffstats
path: root/games/unnethack
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/unnethack
parent8d98f5042d9d3f5d1c76b52d1826c997af60472d (diff)
downloadfreebsd-ports-graphics-64a5e0f37f47ca9274d3cc6633ed687cc7dc23ca.tar.gz
freebsd-ports-graphics-64a5e0f37f47ca9274d3cc6633ed687cc7dc23ca.tar.zst
freebsd-ports-graphics-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/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 4a2b1bf7609..f5debfea5bf 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