summaryrefslogtreecommitdiff
path: root/www/crawl/Makefile
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2002-11-21 23:56:43 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2002-11-21 23:56:43 +0000
commit73ec4418cefebdb263bd562e75051fa8ca7067ea (patch)
treee4313a6482439d6e9d356bd4467beac7d285f595 /www/crawl/Makefile
parentUpgrade to 20021120. (diff)
PERL -> REINPLACE_CMD
Noticed on: bento
Notes
Notes: svn path=/head/; revision=70723
Diffstat (limited to '')
-rw-r--r--www/crawl/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/www/crawl/Makefile b/www/crawl/Makefile
index 2a7083f6a367..52b230d90df5 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>