Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jun 2014 22:49:27 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r359938 - head/lang/lua52
Message-ID:  <201406302249.s5UMnRhx070694@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406302249.s5UMnRhx070694>