diff options
-rw-r--r-- | textproc/py-ltxml/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/textproc/py-ltxml/Makefile b/textproc/py-ltxml/Makefile index 9ae2326f7c1a..e10529d18b2a 100644 --- a/textproc/py-ltxml/Makefile +++ b/textproc/py-ltxml/Makefile @@ -26,6 +26,12 @@ DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} USE_REINPLACE= yes +.include <bsd.port.pre.mk> + +.if ${ARCH} == "amd64" || ${ARCH} == "ia64" +BROKEN= "Does not build on ia64 or amd64 (tries to link non-shared with shared libraries)" +.endif + post-patch: @${REINPLACE_CMD} -e 's|/projects/ltg/projects/lcontrib|${LOCALBASE}|' ${WRKSRC}/setup.py @@ -36,4 +42,4 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/example/* ${EXAMPLESDIR} .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |