From c1d19a70f2be0d4a0ef59e328a0203a5d9eed897 Mon Sep 17 00:00:00 2001 From: lioux Date: Mon, 18 Nov 2002 17:33:18 +0000 Subject: o USE_PERL5 -> USE_PERL5_RUN o Therefore, change all PERL -> REINPLACE_CMD --- net/dctc/Makefile | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'net/dctc') diff --git a/net/dctc/Makefile b/net/dctc/Makefile index 49c83468b3fb..6cbf1c148c51 100644 --- a/net/dctc/Makefile +++ b/net/dctc/Makefile @@ -20,7 +20,7 @@ LIB_DEPENDS= db4.0:${PORTSDIR}/databases/db4 \ USE_GNOMENG= yes USE_GNOME= glib12 -USE_PERL5= yes +USE_PERL5_RUN= yes USE_REINPLACE= yes GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include \ @@ -61,16 +61,20 @@ post-extract: post-patch: .for file in ${DOC_FILES} - @${PERL} -pi -e 's|(hublist)|dc_\1|' ${WRKSRC}/${file} + @${REINPLACE_CMD} -E -e 's|(hublist)|dc_\1|' ${WRKSRC}/${file} .endfor - @${PERL} -pi -e 's/(CK?\()inet_ntoa(\))/\1shared_info\2/' ${WRKSRC}/src/* - @${FIND} ${WRKSRC} -type f | ${XARGS} -n 10 ${PERL} -pi -e \ + @${REINPLACE_CMD} -E -e \ + 's/(LOCK.*)\(inet_ntoa\)/\1(inet_lock_ntoa)/' \ + ${WRKSRC}/src/* + @${FIND} ${WRKSRC} -type f | ${XARGS} -n 10 \ + ${REINPLACE_CMD} -E -e \ 's|<(db.h>)|