summaryrefslogtreecommitdiff
path: root/net-p2p/cdonkey/Makefile
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2006-05-21 16:09:08 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2006-05-21 16:09:08 +0000
commit53d95a4d110d81eed6d71014112562f42dcc4f0d (patch)
tree2db2ca6f69f6551be1162d333d3b51939ae08d19 /net-p2p/cdonkey/Makefile
parent- Expose jsstr.h (diff)
- Fix build on 64bit platforms
PR: 97503 Submitted by: Dan Ponte <dcp1990@neptune.atopia.net> - Move location of global config file from /etc to LOCALBASE/etc - Bump PORTREVISION
Diffstat (limited to 'net-p2p/cdonkey/Makefile')
-rw-r--r--net-p2p/cdonkey/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/net-p2p/cdonkey/Makefile b/net-p2p/cdonkey/Makefile
index 361e3243b516..628b025a3ec0 100644
--- a/net-p2p/cdonkey/Makefile
+++ b/net-p2p/cdonkey/Makefile
@@ -8,6 +8,7 @@
PORTNAME= cdonkey
PORTVERSION= 0.9.0
+PORTREVISION= 1
CATEGORIES= net-p2p
MASTER_SITES= http://suche.org/
DISTNAME= cDonkey-${PORTVERSION}
@@ -26,11 +27,9 @@ WRKSRC= ${WRKDIR}/cDonkey-${PORTVERSION}
.include <bsd.port.pre.mk>
-.if ${ARCH} != "i386"
-BROKEN= "Does not compile on !i386"
-.endif
-
post-patch:
- @${REINPLACE_CMD} -e "s|-ldb|-ldb3|g" ${WRKSRC}/configure
+ ${REINPLACE_CMD} -e "s|-ldb|-ldb3|g" ${WRKSRC}/configure
+ ${REINPLACE_CMD} -e "s|/etc/|${LOCALBASE}/etc/|" \
+ ${WRKSRC}/donkey.cpp ${WRKSRC}/donkey.h
.include <bsd.port.post.mk>