aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-07-01 06:49:52 +0800
committerbapt <bapt@FreeBSD.org>2014-07-01 06:49:52 +0800
commit6f3acabf7607300a0f3cd85ff801d682af86a6e6 (patch)
treef60aefb3e7534dfa61e7980cc17bb7fd160b7280 /lang
parent244beee13548d1234143b049554199951f3dda22 (diff)
downloadfreebsd-ports-gnome-6f3acabf7607300a0f3cd85ff801d682af86a6e6.tar.gz
freebsd-ports-gnome-6f3acabf7607300a0f3cd85ff801d682af86a6e6.tar.zst
freebsd-ports-gnome-6f3acabf7607300a0f3cd85ff801d682af86a6e6.zip
Fix building with readline from ports
Diffstat (limited to 'lang')
-rw-r--r--lang/lua51/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/lua51/Makefile b/lang/lua51/Makefile
index 32e07597e9cd..2fe164cfc5ff 100644
--- a/lang/lua51/Makefile
+++ b/lang/lua51/Makefile
@@ -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 \