svn commit: r309160 - head/textproc/libvisio

Baptiste Daroussin bapt at FreeBSD.org
Tue Dec 18 10:49:41 UTC 2012


Author: bapt
Date: Tue Dec 18 10:49:40 2012
New Revision: 309160
URL: http://svnweb.freebsd.org/changeset/ports/309160

Log:
  Use gperf from ports from version earlier than 802516 and 900502
  
  PR:		ports/174528 [1]
  Reported by:	Chess Griffin <chess at chessgriffin.com> [1],
  		Juan Ramón Molina Menor <juan.molina at free.fr> (on office@)

Modified:
  head/textproc/libvisio/Makefile

Modified: head/textproc/libvisio/Makefile
==============================================================================
--- head/textproc/libvisio/Makefile	Tue Dec 18 10:17:50 2012	(r309159)
+++ head/textproc/libvisio/Makefile	Tue Dec 18 10:49:40 2012	(r309160)
@@ -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>


More information about the svn-ports-head mailing list