diff options
author | marino <marino@FreeBSD.org> | 2016-08-05 23:04:01 +0800 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2016-08-05 23:04:01 +0800 |
commit | afbf3e274df98934a1bbecab0947b76de7861aa3 (patch) | |
tree | 21657622d5e168e12227f23c52f23a8aa1c4b152 /benchmarks/clpeak | |
parent | 4f0828e8e6295ea589073f048f0d35a0444406fa (diff) | |
download | freebsd-ports-gnome-afbf3e274df98934a1bbecab0947b76de7861aa3.tar.gz freebsd-ports-gnome-afbf3e274df98934a1bbecab0947b76de7861aa3.tar.zst freebsd-ports-gnome-afbf3e274df98934a1bbecab0947b76de7861aa3.zip |
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)
Diffstat (limited to 'benchmarks/clpeak')
-rw-r--r-- | benchmarks/clpeak/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/benchmarks/clpeak/Makefile b/benchmarks/clpeak/Makefile index 165af0a717dd..b05200823a35 100644 --- a/benchmarks/clpeak/Makefile +++ b/benchmarks/clpeak/Makefile @@ -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 |