summaryrefslogtreecommitdiff
path: root/net/cdonkey/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/cdonkey/Makefile')
-rw-r--r--net/cdonkey/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/net/cdonkey/Makefile b/net/cdonkey/Makefile
index 75bc5387c995..bf9fa6942ef1 100644
--- a/net/cdonkey/Makefile
+++ b/net/cdonkey/Makefile
@@ -27,7 +27,13 @@ CONFIGURE_ARGS= --with-berkeley-db="${LOCALBASE}/include/db3:${LOCALBASE}/lib"
USE_GMAKE= yes
WRKSRC= ${WRKDIR}/cDonkey
+.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
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>