Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Aug 2016 15:04:01 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r419690 - head/benchmarks/clpeak
Message-ID:  <201608051504.u75F41gs011678@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Fri Aug  5 15:04:01 2016
New Revision: 419690
URL: https://svnweb.freebsd.org/changeset/ports/419690

Log:
  benchmarks/clpeak: set USE_GL rather than hardcoding LIB_DEPENDS
  
  The proper way to handle libGL is to set USE_GL=gl, and doing so allows
  dependency registration to match the port
  
  Approved by:	infrastructure blanket (redundant deps work)

Modified:
  head/benchmarks/clpeak/Makefile

Modified: head/benchmarks/clpeak/Makefile
==============================================================================
--- head/benchmarks/clpeak/Makefile	Fri Aug  5 14:16:57 2016	(r419689)
+++ head/benchmarks/clpeak/Makefile	Fri Aug  5 15:04:01 2016	(r419690)
@@ -3,6 +3,7 @@
 
 PORTNAME=	clpeak
 PORTVERSION=	1.0
+PORTREVISION=	1
 DISTVERSIONPREFIX=	v
 CATEGORIES=	benchmarks
 
@@ -13,8 +14,7 @@ LICENSE=	PD
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	opencl>=0:devel/opencl
-LIB_DEPENDS=	libOpenCL.so:devel/ocl-icd \
-		libGL.so:graphics/libGL
+LIB_DEPENDS=	libOpenCL.so:devel/ocl-icd
 RUN_DEPENDS=	opencl>=0:devel/opencl
 
 BROKEN_FreeBSD_9=	clpeak is only supported on FreeBSD 10.1 and newer
@@ -26,6 +26,7 @@ GH_ACCOUNT=	krrishnarraj
 GH_PROJECT=	clpeak
 
 USE_LDCONFIG=	yes
+USE_GL=		gl
 USES=		cmake
 
 CXXFLAGS+=	-std=c++11



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