From 73ec4418cefebdb263bd562e75051fa8ca7067ea Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Thu, 21 Nov 2002 23:56:43 +0000 Subject: PERL -> REINPLACE_CMD Noticed on: bento --- www/crawl/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3