aboutsummaryrefslogtreecommitdiff
path: root/net/py-libnet
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2004-03-14 05:23:16 +0000
committerKris Kennaway <kris@FreeBSD.org>2004-03-14 05:23:16 +0000
commit003520276a84300843c37e85ff39f416dec0bd8e (patch)
treeb35acccfafc8dd13f9aa13cd44911368bdb6d7ea /net/py-libnet
parentbf7e022ebcf4f568f56076c6c7dc8a9b754bb49f (diff)
downloadports-003520276a84300843c37e85ff39f416dec0bd8e.tar.gz
ports-003520276a84300843c37e85ff39f416dec0bd8e.zip
Notes
Diffstat (limited to 'net/py-libnet')
-rw-r--r--net/py-libnet/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/net/py-libnet/Makefile b/net/py-libnet/Makefile
index 650eca2ed0a0..417e05612eb0 100644
--- a/net/py-libnet/Makefile
+++ b/net/py-libnet/Makefile
@@ -26,6 +26,12 @@ USE_PYTHON= yes
USE_GMAKE= yes
WRKSRC= ${WRKDIR}/${DISTNAME}/src
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "amd64"
+BROKEN= "Does not compile on amd64 (tries to link non-PIC libnet.a into PIC shared library)"
+.endif
+
post-patch:
@${REINPLACE_CMD} -e "s,^CC,#CC,g ; \
s,%%PYTHON_INCLUDEDIR%%,${PYTHON_INCLUDEDIR},g ; \
@@ -36,4 +42,4 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/${file} ${PYTHON_SITELIBDIR}
.endfor
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>