aboutsummaryrefslogtreecommitdiff
path: root/net/rrdtool10
diff options
context:
space:
mode:
Diffstat (limited to 'net/rrdtool10')
-rw-r--r--net/rrdtool10/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/net/rrdtool10/Makefile b/net/rrdtool10/Makefile
index 08abd53a0e8d..8b30ad1a5b41 100644
--- a/net/rrdtool10/Makefile
+++ b/net/rrdtool10/Makefile
@@ -36,6 +36,12 @@ MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
CONFIGURE_ARGS+= --with-latin2
.endif
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "amd64"
+BROKEN= "Does not build on amd64 (needs to build shared libraries with -fPIC)"
+.endif
+
pre-extract:
.if !defined(WITH_LATIN2)
@${ECHO_MSG} ""
@@ -51,4 +57,4 @@ post-install:
@${ECHO_MSG} "############################################################################"
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>