diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2004-03-14 05:23:16 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2004-03-14 05:23:16 +0000 |
commit | 003520276a84300843c37e85ff39f416dec0bd8e (patch) | |
tree | b35acccfafc8dd13f9aa13cd44911368bdb6d7ea /net/py-libnet | |
parent | bf7e022ebcf4f568f56076c6c7dc8a9b754bb49f (diff) | |
download | ports-003520276a84300843c37e85ff39f416dec0bd8e.tar.gz ports-003520276a84300843c37e85ff39f416dec0bd8e.zip |
Notes
Diffstat (limited to 'net/py-libnet')
-rw-r--r-- | net/py-libnet/Makefile | 8 |
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> |