svn commit: r538691 - in head/textproc/highlight: . files
Tobias C. Berner
tcberner at FreeBSD.org
Sat Jun 13 17:25:13 UTC 2020
Author: tcberner
Date: Sat Jun 13 17:25:12 2020
New Revision: 538691
URL: https://svnweb.freebsd.org/changeset/ports/538691
Log:
textproc/highlight: replace hardcoded dependency from lua-5.2 to lua from DEFAULT_VERSIONS
PR: 246874
Submitted by: VVD <vvd at unislabs.com>
Approved by: kwm (timeout)
Modified:
head/textproc/highlight/Makefile
head/textproc/highlight/files/patch-src_makefile
Modified: head/textproc/highlight/Makefile
==============================================================================
--- head/textproc/highlight/Makefile Sat Jun 13 17:22:55 2020 (r538690)
+++ head/textproc/highlight/Makefile Sat Jun 13 17:25:12 2020 (r538691)
@@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= boost-libs>0:devel/boost-libs
-USES= compiler:c++11-lib gmake lua:52 pkgconfig tar:bzip2
+USES= compiler:c++11-lib gmake lua pkgconfig tar:bzip2
USE_CXXSTD= c++11
MAKEFILE= makefile
MAKE_ARGS= CXX="${CXX}" \
Modified: head/textproc/highlight/files/patch-src_makefile
==============================================================================
--- head/textproc/highlight/files/patch-src_makefile Sat Jun 13 17:22:55 2020 (r538690)
+++ head/textproc/highlight/files/patch-src_makefile Sat Jun 13 17:25:12 2020 (r538691)
@@ -14,11 +14,11 @@
# use lua5.1 in the pkg-config calls
-LUA_CFLAGS=$(shell pkg-config --cflags lua)
-+LUA_CFLAGS=$(shell pkg-config --cflags lua-5.2)
++LUA_CFLAGS=$(shell pkg-config --cflags lua-$(LUA_VER))
# default lua lib
-LUA_LIBS=$(shell pkg-config --libs lua)
-+LUA_LIBS=$(shell pkg-config --libs lua-5.2)
++LUA_LIBS=$(shell pkg-config --libs lua-$(LUA_VER))
# luajit lib
# LUA_LIBS=$(shell pkg-config --libs luajit)
More information about the svn-ports-head
mailing list