summaryrefslogtreecommitdiff
path: root/math/matrix
diff options
context:
space:
mode:
Diffstat (limited to 'math/matrix')
-rw-r--r--math/matrix/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/math/matrix/Makefile b/math/matrix/Makefile
index 85f2ae3495c8..5b6b0a8c41a8 100644
--- a/math/matrix/Makefile
+++ b/math/matrix/Makefile
@@ -20,4 +20,10 @@ USE_ZIP= yes
INSTALLS_SHLIB= yes
PLIST_SUB= LIBVERSION=1
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "amd64"
+BROKEN= "Does not build on amd64 (shared libraries must be compiled with -fPIC)"
+.endif
+
+.include <bsd.port.post.mk>