diff options
author | lioux <lioux@FreeBSD.org> | 2002-11-19 01:33:18 +0800 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2002-11-19 01:33:18 +0800 |
commit | c1d19a70f2be0d4a0ef59e328a0203a5d9eed897 (patch) | |
tree | 0405a14a271c95a216ce2f4d6f219fa4e7ebde9e /net-p2p/dctc | |
parent | 9ebf72533b952ca648cda8632d8f995c956fc9c1 (diff) | |
download | freebsd-ports-gnome-c1d19a70f2be0d4a0ef59e328a0203a5d9eed897.tar.gz freebsd-ports-gnome-c1d19a70f2be0d4a0ef59e328a0203a5d9eed897.tar.zst freebsd-ports-gnome-c1d19a70f2be0d4a0ef59e328a0203a5d9eed897.zip |
o USE_PERL5 -> USE_PERL5_RUN
o Therefore, change all PERL -> REINPLACE_CMD
Diffstat (limited to 'net-p2p/dctc')
-rw-r--r-- | net-p2p/dctc/Makefile | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/net-p2p/dctc/Makefile b/net-p2p/dctc/Makefile index 49c83468b3fb..6cbf1c148c51 100644 --- a/net-p2p/dctc/Makefile +++ b/net-p2p/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>)|<db4/\1|' - @${PERL} -pi -e 's|(db)-|\1|g;s|db4.0|db4|' \ + @${REINPLACE_CMD} -E -e 's|(db)-|\1|g;s|db4\.0|db4|g' \ ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} - @${PERL} -pi -e 's|/usr/bin/env perl|${PERL}|' \ + @${REINPLACE_CMD} -E -e 's|/usr/bin/env perl|${PERL}|' \ ${WRKSRC}/GDLjoiner - @${REINPLACE_CMD} -E -e 's|^(dctc_SOURCES.+)$$|\1 lp_mutex.c|; \ + @${REINPLACE_CMD} -E -e \ + 's|^(dctc_SOURCES.+)$$|\1 lp_mutex.c|; \ s|^(dctc_OBJECTS[^\\]+)(\\*)$$|\1 lp_mutex.o \2|' \ ${WRKSRC}/src/Makefile.in |