aboutsummaryrefslogtreecommitdiff
path: root/textproc/iiimf-protocol-lib
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2004-03-13 05:31:07 +0000
committerKris Kennaway <kris@FreeBSD.org>2004-03-13 05:31:07 +0000
commited3f2f96a1c96c4792464bfa9dc8323f2846c66b (patch)
tree52f1bb0735b05db0ae7624ff79e6d1bbb81d879f /textproc/iiimf-protocol-lib
parent3814833a2fbd631c64ec740b68638dbd2ecd7a15 (diff)
BROKEN on 4.x: Does not compile
Notes
Notes: svn path=/head/; revision=103837
Diffstat (limited to 'textproc/iiimf-protocol-lib')
-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>