Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Sep 2014 10:19:40 +0000 (UTC)
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r368300 - head/graphics/libosmesa
Message-ID:  <201409161019.s8GAJeik077525@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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@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 \



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