aboutsummaryrefslogtreecommitdiffstats
path: root/lang/q
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2004-06-19 17:33:19 +0800
committerkris <kris@FreeBSD.org>2004-06-19 17:33:19 +0800
commit8a1d7fa149126759ecaa99e89fb17e54e748453e (patch)
treeb08bd4ead5109056ba794993dd7fb630127430d8 /lang/q
parent77d77dcf159c01fcf9eea188ebd781f902564c72 (diff)
downloadfreebsd-ports-gnome-8a1d7fa149126759ecaa99e89fb17e54e748453e.tar.gz
freebsd-ports-gnome-8a1d7fa149126759ecaa99e89fb17e54e748453e.tar.zst
freebsd-ports-gnome-8a1d7fa149126759ecaa99e89fb17e54e748453e.zip
BROKEN on amd64: Shared libraries must be compiled with -fPIC
Diffstat (limited to 'lang/q')
-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>