1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Fix building with readline from ports

This commit is contained in:
Baptiste Daroussin 2014-06-30 22:49:52 +00:00
parent 5fb5a61084
commit b36d8ba919
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=359939

View File

@ -28,7 +28,7 @@ MAKE_ARGS= __MAKE_CONF=${NONEXISTENT}
# so that applications need not second-guess lua's dependencies.
LDFLAGS+= -lm -pthread
BUILD_WRKSRC= ${WRKSRC}/src
MAKE_ARGS+= MYCFLAGS="${CFLAGS} -DLUA_USE_LINUX" \
MAKE_ARGS+= MYCFLAGS="${CFLAGS} ${CPPFLAGS} -DLUA_USE_LINUX" \
MYLDFLAGS="${LDFLAGS} -Wl,-E -lreadline" \
CC="${CC}" \
LUA_T=lua51 \