summaryrefslogtreecommitdiff
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
parentBROKEN on 4.x: Does not compile (diff)
BROKEN on 4.x: Does not compile
Notes
Notes: svn path=/head/; revision=103837
-rw-r--r--net/b2bua/Makefile8
-rw-r--r--textproc/iiimf-protocol-lib/Makefile8
2 files changed, 14 insertions, 2 deletions
diff --git a/net/b2bua/Makefile b/net/b2bua/Makefile
index 9741d973223d..97629143267a 100644
--- a/net/b2bua/Makefile
+++ b/net/b2bua/Makefile
@@ -24,6 +24,12 @@ MAKE_ENV= PTHREAD_LDFLAGS="${PTHREAD_LIBS}" \
PTHREAD_LIBNAME="${PTHREAD_LIBNAME}" \
VOCAL_USE_SYSTEM_LIBXML=true
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+BROKEN= "Does not compile on 4.x"
+.endif
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/sip/b2b/bin.nodebug.FreeBSD.${MACHINE_ARCH}/b2bua \
${PREFIX}/bin
@@ -34,4 +40,4 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/sip/b2b/b2bConfig.xml \
${PREFIX}/etc/b2bConfig.xml.sample
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
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>