svn commit: r368300 - head/graphics/libosmesa

Pietro Cerutti gahr at FreeBSD.org
Tue Sep 16 10:19:41 UTC 2014


Author: gahr
Date: Tue Sep 16 10:19:40 2014
New Revision: 368300
URL: http://svnweb.freebsd.org/changeset/ports/368300
QAT: https://qat.redports.org/buildarchive/r368300/

Log:
  - Use flex and bison from ports
  - Bump PORTREVISION
  
  PR:		193654
  Submitted by:	ohartman at zedat.fu-berlin.de

Modified:
  head/graphics/libosmesa/Makefile

Modified: head/graphics/libosmesa/Makefile
==============================================================================
--- head/graphics/libosmesa/Makefile	Tue Sep 16 09:31:37 2014	(r368299)
+++ head/graphics/libosmesa/Makefile	Tue Sep 16 10:19:40 2014	(r368300)
@@ -3,6 +3,7 @@
 
 PORTNAME=	libosmesa
 PORTVERSION=	10.2.7
+PORTREVISION=	1
 CATEGORIES=	graphics
 MASTER_SITES=	ftp://ftp.freedesktop.org/pub/mesa/${PORTVERSION}/
 DISTNAME=	MesaLib-${PORTVERSION}
@@ -11,11 +12,14 @@ MAINTAINER=	gahr at FreeBSD.org
 COMMENT=	Off-Screen Mesa implementation of the OpenGL API
 
 LIB_DEPENDS=	libexpat.so:${PORTSDIR}/textproc/expat2
-BUILD_DEPENDS=	${PYTHON_SITELIBDIR}/libxml2mod.so:${PORTSDIR}/textproc/py-libxml2
+BUILD_DEPENDS=	${PYTHON_SITELIBDIR}/libxml2mod.so:${PORTSDIR}/textproc/py-libxml2 \
+    		${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex
 
-USES=		gmake pkgconfig tar:bzip2 libtool python:2 bison
+USES=		bison gmake pkgconfig tar:bzip2 libtool python:2
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
+CONFIGURE_ENV+=	ac_cv_prog_YACC=${LOCALBASE}/bin/bison \
+		ac_cv_prog_LEX=${LOCALBASE}/bin/flex
 CONFIGURE_ARGS+=--enable-osmesa \
 		--disable-driglx-direct \
 		--disable-gallium-llvm \


More information about the svn-ports-head mailing list