aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net-im/gloox/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/net-im/gloox/Makefile b/net-im/gloox/Makefile
index ec4b53220cf8..e5ec8b4cded1 100644
--- a/net-im/gloox/Makefile
+++ b/net-im/gloox/Makefile
@@ -24,10 +24,16 @@ CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
INSTALLS_SHLIB= yes
+.include <bsd.port.pre.mk>
+
+.if (${OSVERSION} < 500000)
+BROKEN= does not build on FreeBSD < 5.x
+.endif
+
post-install:
@${FIND} ${PREFIX}/include/gloox ! -type d | \
${SED} "s,${PREFIX}/,," >> ${TMPPLIST}
@${FIND} ${PREFIX}/include/gloox -type d | ${SORT} -r | \
${SED} "s,${PREFIX}/,@dirrm ," >> ${TMPPLIST}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>