summaryrefslogtreecommitdiff
path: root/textproc/highlight/files/patch-src_makefile
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2020-06-13 17:25:12 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2020-06-13 17:25:12 +0000
commit2982da04574f3544b30b3212016e40166db20060 (patch)
treee9195433f515350e92458c482ab7a88472cd01ba /textproc/highlight/files/patch-src_makefile
parentUpdate the failure message on powerpc64 after adding compiler:c++11-lang (diff)
textproc/highlight: replace hardcoded dependency from lua-5.2 to lua from DEFAULT_VERSIONS
PR: 246874 Submitted by: VVD <vvd@unislabs.com> Approved by: kwm (timeout)
Notes
Notes: svn path=/head/; revision=538691
Diffstat (limited to 'textproc/highlight/files/patch-src_makefile')
-rw-r--r--textproc/highlight/files/patch-src_makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/textproc/highlight/files/patch-src_makefile b/textproc/highlight/files/patch-src_makefile
index 5fb4ede3554d..a41c19a01a5e 100644
--- a/textproc/highlight/files/patch-src_makefile
+++ b/textproc/highlight/files/patch-src_makefile
@@ -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)