aboutsummaryrefslogtreecommitdiff
path: root/devel/swig13/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/swig13/Makefile')
-rw-r--r--devel/swig13/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/swig13/Makefile b/devel/swig13/Makefile
index 5c22a13a9fa8..3f97e744bfbc 100644
--- a/devel/swig13/Makefile
+++ b/devel/swig13/Makefile
@@ -103,10 +103,16 @@ CONFIGURE_ENV= CFLAGS="${CFLAGS} -fpic -DPIC"
ALL_TARGET= swig runtime
PLIST_SUB+= VER="${VER}"
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "sparc64"
+BROKEN= "Build fails on sparc64"
+.endif
+
post-install:
# A separate swig13-runtime port might be nice
@(cd ${INSTALL_WRKSRC}/Runtime && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET})
${LN} -f ${PREFIX}/bin/swig ${PREFIX}/bin/swig${VER}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>