aboutsummaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-12-18 10:49:40 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-12-18 10:49:40 +0000
commitb481d26d9d4d3ba2697e00f7790d3785d9c07e5d (patch)
tree5559cd7e36bc5069461dae86ad6e9b57c4b31155 /textproc
parentee957125c9242d53af0a5b9b1a8f166e5dff65f8 (diff)
downloadports-b481d26d9d4d3ba2697e00f7790d3785d9c07e5d.tar.gz
ports-b481d26d9d4d3ba2697e00f7790d3785d9c07e5d.zip
Notes
Diffstat (limited to 'textproc')
-rw-r--r--textproc/libvisio/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/textproc/libvisio/Makefile b/textproc/libvisio/Makefile
index ae64b51c0069..41362e0d1bf5 100644
--- a/textproc/libvisio/Makefile
+++ b/textproc/libvisio/Makefile
@@ -25,4 +25,11 @@ USE_GNOME= gnomehack
USE_LDCONFIG= yes
USE_PKGCONFIG= build
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 802516 || (${OSVERSION} >= 900000 && ${OSVERSION} < 900502)
+BUILD_DEPENDS+= ${LOCALBASE}/bin/gperf:${PORTSDIR}/devel/gperf
+CONFIGURE_ENV+= GPERF=${LOCALBASE}/bin/gperf
+.endif
+
+.include <bsd.port.post.mk>