summaryrefslogtreecommitdiff
path: root/games/cryptoslam/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/cryptoslam/Makefile')
-rw-r--r--games/cryptoslam/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/games/cryptoslam/Makefile b/games/cryptoslam/Makefile
index d1bd194d93fa..3c28e99d33f1 100644
--- a/games/cryptoslam/Makefile
+++ b/games/cryptoslam/Makefile
@@ -14,6 +14,8 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
+USE_REINPLACE= yes
+
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 400010
@@ -23,7 +25,7 @@ CFLAGS+= -nostdinc -I${LOCALBASE}/include/ncurses \
.endif
post-patch:
- @${PERL} -pi -e "s,^CFLAGS,#CFLAGS,g" ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e "s,^CFLAGS,#CFLAGS,g" ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/cryptoslam ${PREFIX}/bin