svn commit: r359938 - head/lang/lua52

Baptiste Daroussin bapt at FreeBSD.org
Mon Jun 30 22:49:27 UTC 2014


Author: bapt
Date: Mon Jun 30 22:49:27 2014
New Revision: 359938
URL: http://svnweb.freebsd.org/changeset/ports/359938
QAT: https://qat.redports.org/buildarchive/r359938/

Log:
  Fix building with readline from ports

Modified:
  head/lang/lua52/Makefile

Modified: head/lang/lua52/Makefile
==============================================================================
--- head/lang/lua52/Makefile	Mon Jun 30 22:45:18 2014	(r359937)
+++ head/lang/lua52/Makefile	Mon Jun 30 22:49:27 2014	(r359938)
@@ -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 \


More information about the svn-ports-head mailing list