diff options
author | gahr <gahr@FreeBSD.org> | 2009-08-18 02:28:24 +0800 |
---|---|---|
committer | gahr <gahr@FreeBSD.org> | 2009-08-18 02:28:24 +0800 |
commit | b3c2bad104ebb4929ceba753486f64f850d29812 (patch) | |
tree | 46f01262e09cfc67908f6762efcea12b76c904e4 | |
parent | bb672ef3b40b30890203a9423d6f78b2e50f3ec2 (diff) | |
download | freebsd-ports-gnome-b3c2bad104ebb4929ceba753486f64f850d29812.tar.gz freebsd-ports-gnome-b3c2bad104ebb4929ceba753486f64f850d29812.tar.zst freebsd-ports-gnome-b3c2bad104ebb4929ceba753486f64f850d29812.zip |
- Fix build on amd64
Tested by: miwi
Many thanks to: miwi
-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 |