aboutsummaryrefslogtreecommitdiff
path: root/lang/io
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2009-08-17 18:28:24 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2009-08-17 18:28:24 +0000
commit638e4675a3903ee6542e01ba00ccedd6e7ef811e (patch)
tree8fb05c27959cbf8fcca39978bab2cbb0221e11c3 /lang/io
parent0c1669220ed0fed671854e9154054d768f99b865 (diff)
downloadports-638e4675a3903ee6542e01ba00ccedd6e7ef811e.tar.gz
ports-638e4675a3903ee6542e01ba00ccedd6e7ef811e.zip
Notes
Diffstat (limited to 'lang/io')
-rw-r--r--lang/io/Makefile9
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