aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2004-06-19 17:33:19 +0800
committerKris Kennaway <kris@FreeBSD.org>2004-06-19 17:33:19 +0800
commit3371cd154ddc6af3a9a9dfcb4562675ef5c75aa1 (patch)
tree3065176caefebf9bcf8467fd07e11801c096770a
parentd01f79fbfcd1831886e75b178f4f0b3c40f661ed (diff)
downloadfreebsd-ports-3371cd154ddc6af3a9a9dfcb4562675ef5c75aa1.tar.gz
freebsd-ports-3371cd154ddc6af3a9a9dfcb4562675ef5c75aa1.tar.zst
freebsd-ports-3371cd154ddc6af3a9a9dfcb4562675ef5c75aa1.zip
BROKEN on amd64: Shared libraries must be compiled with -fPIC
Notes
Notes: svn path=/head/; revision=111805
-rw-r--r--lang/q/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/lang/q/Makefile b/lang/q/Makefile
index 23c6f9fc9897..bb6002a41070 100644
--- a/lang/q/Makefile
+++ b/lang/q/Makefile
@@ -69,6 +69,12 @@ CONFIGURE_ARGS+= --with-odbc=-liodbc
MAN1= q.1
INFO= qdoc
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "amd64"
+BROKEN= "Does not build on amd64 (shared libraries must be compiled with -fPIC)"
+.endif
+
post-extract:
@${RM} -f ${WRKSRC}/doc/*info*
@@ -80,4 +86,4 @@ post-patch:
${GREP} -l "<malloc\.h>" | ${XARGS} ${REINPLACE_CMD} \
-e "s,<malloc\.h>,<stdlib.h>,"
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>