aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/libvisio
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2012-12-18 18:49:40 +0800
committerbapt <bapt@FreeBSD.org>2012-12-18 18:49:40 +0800
commitf830f560ffbe1de30e24edfef80b804672e4e6eb (patch)
tree5559cd7e36bc5069461dae86ad6e9b57c4b31155 /textproc/libvisio
parent94e401dc4a3dea4b13a8d3ae897c2f7857aeb5b1 (diff)
downloadfreebsd-ports-graphics-f830f560ffbe1de30e24edfef80b804672e4e6eb.tar.gz
freebsd-ports-graphics-f830f560ffbe1de30e24edfef80b804672e4e6eb.tar.zst
freebsd-ports-graphics-f830f560ffbe1de30e24edfef80b804672e4e6eb.zip
Use gperf from ports from version earlier than 802516 and 900502
PR: ports/174528 [1] Reported by: Chess Griffin <chess@chessgriffin.com> [1], Juan Ramón Molina Menor <juan.molina@free.fr> (on office@)
Diffstat (limited to 'textproc/libvisio')
-rw-r--r--textproc/libvisio/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/textproc/libvisio/Makefile b/textproc/libvisio/Makefile
index ae64b51c006..41362e0d1bf 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>