aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-07-01 06:49:27 +0800
committerbapt <bapt@FreeBSD.org>2014-07-01 06:49:27 +0800
commit244beee13548d1234143b049554199951f3dda22 (patch)
treea99e6d9a40b132cf91f9fb47da9cf14a5a9143e0
parent40d637d8536c9968f7c307fb1f406b96d7ebe969 (diff)
downloadfreebsd-ports-gnome-244beee13548d1234143b049554199951f3dda22.tar.gz
freebsd-ports-gnome-244beee13548d1234143b049554199951f3dda22.tar.zst
freebsd-ports-gnome-244beee13548d1234143b049554199951f3dda22.zip
Fix building with readline from ports
-rw-r--r--lang/lua52/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/lua52/Makefile b/lang/lua52/Makefile
index 8aa34b79f77a..73c1821589f0 100644
--- a/lang/lua52/Makefile
+++ b/lang/lua52/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=lua52 \