View | Details | Raw Unified | Return to bug 246874 | Differences between
and this patch

Collapse All | Expand All

(-)textproc/highlight/Makefile (-1 / +1 lines)
Lines 16-22 Link Here
16
16
17
BUILD_DEPENDS=	boost-libs>0:devel/boost-libs
17
BUILD_DEPENDS=	boost-libs>0:devel/boost-libs
18
18
19
USES=		compiler:c++11-lib gmake lua:52 pkgconfig tar:bzip2
19
USES=		compiler:c++11-lib gmake lua pkgconfig tar:bzip2
20
USE_CXXSTD=	c++11
20
USE_CXXSTD=	c++11
21
MAKEFILE=	makefile
21
MAKEFILE=	makefile
22
MAKE_ARGS=	CXX="${CXX}" \
22
MAKE_ARGS=	CXX="${CXX}" \
(-)textproc/highlight/files/patch-src_makefile (-2 / +2 lines)
Lines 14-24 Link Here
14
 # use lua5.1 in the pkg-config calls
14
 # use lua5.1 in the pkg-config calls
15
 
15
 
16
-LUA_CFLAGS=$(shell pkg-config --cflags lua)
16
-LUA_CFLAGS=$(shell pkg-config --cflags lua)
17
+LUA_CFLAGS=$(shell pkg-config --cflags lua-5.2)
17
+LUA_CFLAGS=$(shell pkg-config --cflags lua-$(LUA_VER))
18
 
18
 
19
 # default lua lib
19
 # default lua lib
20
-LUA_LIBS=$(shell pkg-config --libs lua)
20
-LUA_LIBS=$(shell pkg-config --libs lua)
21
+LUA_LIBS=$(shell pkg-config --libs lua-5.2)
21
+LUA_LIBS=$(shell pkg-config --libs lua-$(LUA_VER))
22
 
22
 
23
 # luajit lib
23
 # luajit lib
24
 # LUA_LIBS=$(shell pkg-config --libs luajit)
24
 # LUA_LIBS=$(shell pkg-config --libs luajit)

Return to bug 246874