aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2002-11-22 07:56:43 +0800
committeredwin <edwin@FreeBSD.org>2002-11-22 07:56:43 +0800
commit1a8703e4c2b4c43064b5139b1dc847821a088946 (patch)
tree79b5d8c182781698e30c1dd269296ca109b44b58
parentffc443c499a0ef59d38e255f629b139652127872 (diff)
downloadfreebsd-ports-graphics-1a8703e4c2b4c43064b5139b1dc847821a088946.tar.gz
freebsd-ports-graphics-1a8703e4c2b4c43064b5139b1dc847821a088946.tar.zst
freebsd-ports-graphics-1a8703e4c2b4c43064b5139b1dc847821a088946.zip
PERL -> REINPLACE_CMD
Noticed on: bento
-rw-r--r--www/crawl/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/www/crawl/Makefile b/www/crawl/Makefile
index 2a7083f6a36..52b230d90df 100644
--- a/www/crawl/Makefile
+++ b/www/crawl/Makefile
@@ -19,6 +19,7 @@ LIB_DEPENDS= md5.1:${PORTSDIR}/www/libwww \
WRKSRC= ${WRKDIR}/${PORTNAME}
+USE_REINPLACE= yes
USE_AUTOCONF= yes
CONFIGURE_ARGS= --with-libevent=${LOCALBASE}
CONFIGURE_ENV= LIBS="${LDFLAGS} -L${LOCALBASE}/lib -lmd5"
@@ -26,6 +27,7 @@ CONFIGURE_ENV= LIBS="${LDFLAGS} -L${LOCALBASE}/lib -lmd5"
MAN1= crawl.1
post-patch:
- @${PERL} -pi -e 's,-ldb,-ldb3,g' ${WRKSRC}/configure.in
+ @${REINPLACE_CMD} -e 's,-ldb,-ldb3,g' ${WRKSRC}/configure.in
+ ${CHMOD} u+w ${WRKSRC}/*
.include <bsd.port.mk>