Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Dec 2012 10:49:40 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r309160 - head/textproc/libvisio
Message-ID:  <201212181049.qBIAneIx021656@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@chessgriffin.com> [1],
  		Juan Ramón Molina Menor <juan.molina@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212181049.qBIAneIx021656>