aboutsummaryrefslogtreecommitdiff
path: root/textproc/iiimf-protocol-lib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/iiimf-protocol-lib/Makefile')
-rw-r--r--textproc/iiimf-protocol-lib/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/textproc/iiimf-protocol-lib/Makefile b/textproc/iiimf-protocol-lib/Makefile
index e8cea2eea1fc..4c0e1d390071 100644
--- a/textproc/iiimf-protocol-lib/Makefile
+++ b/textproc/iiimf-protocol-lib/Makefile
@@ -27,6 +27,12 @@ HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX} \
--includedir=${PREFIX}/include/iiimf/iiimp
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+BROKEN= "Does not compile on 4.x"
+.endif
+
post-patch:
${REINPLACE_CMD} -e "s,-lpthread,-pthread,g" \
-e "s,-D_POSIX_C_SOURCE=199506L,,g" \
@@ -34,4 +40,4 @@ post-patch:
-e "s,/usr/lib/im,${PREFIX}/lib/im,g" \
${WRKSRC}/configure
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>