aboutsummaryrefslogtreecommitdiff
path: root/devel/omniORB
diff options
context:
space:
mode:
Diffstat (limited to 'devel/omniORB')
-rw-r--r--devel/omniORB/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/omniORB/Makefile b/devel/omniORB/Makefile
index 138ce9d6e435..3df1f15644b6 100644
--- a/devel/omniORB/Makefile
+++ b/devel/omniORB/Makefile
@@ -41,6 +41,12 @@ PLIST_SUB+= STATIC=""
MAN1= catior.1 genior.1 nameclt.1 omniNames.1 omniidl.1
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 600000
+BROKEN= "Does not compile on FreeBSD >= 6.x"
+.endif
+
post-patch:
@${REINPLACE_CMD} -Ee 's#-pthread|-lc_r#${PTHREAD_LIBS}#' \
${WRKSRC}/mk/beforeauto.mk.in
@@ -59,4 +65,4 @@ post-install:
@ ${TAR} cCf ${WRKSRC}/doc - . | ${TAR} xUCf ${DOCSDIR} -
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>