aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/dctc/Makefile
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-10-05 17:20:14 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-10-05 17:20:14 +0000
commita71a8936a009799ec34cdc84ce34b472c7ecd1b3 (patch)
tree7ec13d377b16bfd476dd544ac2258d5b2d5a0437 /net-p2p/dctc/Makefile
parent5ce8631e75dcca0355bfddb52cd6958f7edd43f0 (diff)
downloadports-a71a8936a009799ec34cdc84ce34b472c7ecd1b3.tar.gz
ports-a71a8936a009799ec34cdc84ce34b472c7ecd1b3.zip
Notes
Diffstat (limited to 'net-p2p/dctc/Makefile')
-rw-r--r--net-p2p/dctc/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/net-p2p/dctc/Makefile b/net-p2p/dctc/Makefile
index 7b25b58dd133..5081ed99d040 100644
--- a/net-p2p/dctc/Makefile
+++ b/net-p2p/dctc/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= dctc
-PORTVERSION= 0.83.3
+PORTVERSION= 0.83.5
CATEGORIES= net
MASTER_SITES= http://unixpages.org/distfiles/ \
http://ac2i.tzo.com/dctc/
@@ -62,11 +62,9 @@ post-patch:
.for file in ${DOC_FILES}
@${PERL} -pi -e 's|(hublist)|dc_\1|' ${WRKSRC}/${file}
.endfor
- @${PERL} -pi -e 's/(CK?\(std)(out\))/\1_\2/' ${WRKSRC}/src/*
@${PERL} -pi -e 's/(CK?\()inet_ntoa(\))/\1shared_info\2/' ${WRKSRC}/src/*
@${FIND} ${WRKSRC} -type f | ${XARGS} -n 10 ${PERL} -pi -e \
- 's|include.+<linux/sem.h>|include <sys/ipc.h>\n#include <sys/sem.h>|; \
- s|<(db.h>)|<db4/\1|'
+ 's|<(db.h>)|<db4/\1|'
@${PERL} -pi -e 's|(db)-|\1|g;s|db4.0|db4|' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
@${PERL} -pi -e 's|/usr/bin/env perl|${PERL}|' \
@@ -83,6 +81,10 @@ pre-build:
@${ECHO_CMD} '# define ENODATA ENOMSG' >> ${CONFIGURE_WRKSRC}/config.h
@${ECHO_CMD} '#endif' >> ${CONFIGURE_WRKSRC}/config.h
@${ECHO_CMD} '#define HAVE_SYS_PARAM_H 1' >> ${CONFIGURE_WRKSRC}/config.h
+# disable GNU auto* tools
+ @${FIND} ${WRKSRC} -type f -name "Makefile" | ${XARGS} \
+ -n 10 ${REINPLACE_CMD} -E -e \
+ 's! (autoconf|autoheader|automake|aclocal)$$! ${TRUE}!'
do-install:
.ifndef(NOPORTDOCS)