From owner-svn-ports-head@freebsd.org Fri Aug 5 15:04:02 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BCF2ABAFA48; Fri, 5 Aug 2016 15:04:02 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8CB7E12D1; Fri, 5 Aug 2016 15:04:02 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u75F41ZM011680; Fri, 5 Aug 2016 15:04:01 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u75F41gs011678; Fri, 5 Aug 2016 15:04:01 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201608051504.u75F41gs011678@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: marino set sender to marino@FreeBSD.org using -f From: John Marino Date: Fri, 5 Aug 2016 15:04:01 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r419690 - head/benchmarks/clpeak X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Aug 2016 15:04:02 -0000 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