summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2016-09-30 19:24:30 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2016-09-30 19:24:30 +0000
commit1ee4da6dd1d50ed85cd3a614fc8a30b02f3ccf66 (patch)
tree8b44219153a720f367633c8fe248933750735b7d /benchmarks
parent- Update to 3.8.82 (diff)
Let USES=localbase add -L${LOCALBASE}/lib to LIBS instead of LDFLAGS.
USES=localbase:ldflags can be used to set LDFLAGS. Normally LDFLAGS appears too early on the command line causing some ports to link with their own libraries in LOCALBASE (if installed) instead of WRKSRC. Also make use of _USES_POST so -L${LOCALBASE}/lib is added as late as possible after anything a port Makefile might set. Use _USES_POST instead of .include in libedit.mk and libarchive.mk so things like 'USES=libedit localbase:ldflags' work correctly. Fix some issues with LIBS in some ports. Switch ports that don't support LIBS to localbase:ldflags. PR: 212987 Exp-run by: antoine Approved by: portmgr (antoine)
Notes
Notes: svn path=/head/; revision=423014
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/glmark2/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmarks/glmark2/Makefile b/benchmarks/glmark2/Makefile
index f1604e27f1e8..02dac32351bf 100644
--- a/benchmarks/glmark2/Makefile
+++ b/benchmarks/glmark2/Makefile
@@ -13,7 +13,7 @@ LICENSE= GPLv3
LIB_DEPENDS= libpng.so:graphics/png
-USES= jpeg localbase pkgconfig waf
+USES= jpeg localbase:ldflags pkgconfig waf
USE_GL= egl gl glesv2
CONFIGURE_ARGS= --with-flavors=x11-gl,x11-glesv2 --no-opt --no-debug
WAF_CMD= ./waf -v