svn commit: r359939 - head/lang/lua51

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


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

Log:
  Fix building with readline from ports

Modified:
  head/lang/lua51/Makefile

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


More information about the svn-ports-head mailing list