diff options
author | kris <kris@FreeBSD.org> | 2004-03-14 13:23:16 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2004-03-14 13:23:16 +0800 |
commit | a8a89c37fe338cbff0192ceeef27ccf7a13714a5 (patch) | |
tree | 8b56ee6785e41e4a30309ef44112ff74a8e013f9 | |
parent | 11ef758600ea716604eb845b1617d3e5609e9367 (diff) | |
download | freebsd-ports-gnome-a8a89c37fe338cbff0192ceeef27ccf7a13714a5.tar.gz freebsd-ports-gnome-a8a89c37fe338cbff0192ceeef27ccf7a13714a5.tar.zst freebsd-ports-gnome-a8a89c37fe338cbff0192ceeef27ccf7a13714a5.zip |
BROKEN on amd64: Tries to link non-PIC libnet.a into PIC shared library
-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> |