diff options
author | Pietro Cerutti <gahr@FreeBSD.org> | 2009-08-17 18:28:24 +0000 |
---|---|---|
committer | Pietro Cerutti <gahr@FreeBSD.org> | 2009-08-17 18:28:24 +0000 |
commit | 638e4675a3903ee6542e01ba00ccedd6e7ef811e (patch) | |
tree | 8fb05c27959cbf8fcca39978bab2cbb0221e11c3 | |
parent | 0c1669220ed0fed671854e9154054d768f99b865 (diff) | |
download | ports-638e4675a3903ee6542e01ba00ccedd6e7ef811e.tar.gz ports-638e4675a3903ee6542e01ba00ccedd6e7ef811e.zip |
Notes
-rw-r--r-- | lang/io/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lang/io/Makefile b/lang/io/Makefile index fd6921ae5f73..f1ab4ca587f3 100644 --- a/lang/io/Makefile +++ b/lang/io/Makefile @@ -35,10 +35,6 @@ PORTEXAMPLES= * .include <bsd.port.pre.mk> -.if ${ARCH} == "amd64" -BROKEN= does not link -.endif - post-patch: @cd ${WRKSRC}/addons && for addon in *; do \ if ! ${ECHO_CMD} ${DEFAULT_ADDONS} | ${GREP} $$addon > /dev/null; then \ @@ -51,6 +47,11 @@ post-patch: @${REINPLACE_CMD} -e '/CC = gcc/ d' \ ${WRKSRC}/libs/basekit/source/simd_cph/test/Makefile @${REINPLACE_CMD} -e '/cp _build\/dll\/.*\/bin/ d' ${WRKSRC}/Makefile +.if ${ARCH} == "amd64" + @${REINPLACE_CMD} -e 's|^CFLAGS =|CFLAGS = -fPIC|' \ + ${WRKSRC}/Makefile.lib \ + ${WRKSRC}/libs/basekit/Makefile.lib +.endif post-install: ${MKDIR} ${PREFIX}/include/io |