From 6d73d97535f5029afbb75e7f5a936e949b9f4956 Mon Sep 17 00:00:00 2001 From: arved Date: Mon, 30 Jul 2007 14:53:58 +0000 Subject: Fix Lua detection. PR: 113498 Reported by: clemens fischer Approved by: maintainer timeout --- www/elinks/Makefile | 3 ++- www/elinks/files/patch-src_scripting_lua_Makefile | 11 +++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 www/elinks/files/patch-src_scripting_lua_Makefile diff --git a/www/elinks/Makefile b/www/elinks/Makefile index 7d4978c36d5e..e683ef767af4 100644 --- a/www/elinks/Makefile +++ b/www/elinks/Makefile @@ -7,7 +7,7 @@ PORTNAME= elinks PORTVERSION= 0.11.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www MASTER_SITES= http://elinks.or.cz/download/ \ http://keyserver.kjsl.com/~jharris/distfiles/ @@ -79,6 +79,7 @@ USE_LUA= 5.0 CONFIGURE_ARGS+= --with-lua CPPFLAGS+= -I${LUA_INCDIR} LDFLAGS+= -L${LUA_LIBDIR} +CONFIGURE_ENV+= "CPPFLAGS=${CPPFLAGS}" .else CONFIGURE_ARGS+= --without-lua .endif diff --git a/www/elinks/files/patch-src_scripting_lua_Makefile b/www/elinks/files/patch-src_scripting_lua_Makefile new file mode 100644 index 000000000000..5c71bc947eea --- /dev/null +++ b/www/elinks/files/patch-src_scripting_lua_Makefile @@ -0,0 +1,11 @@ +--- src/scripting/lua/Makefile.orig 2007-07-30 16:17:41.000000000 +0200 ++++ src/scripting/lua/Makefile 2007-07-30 16:17:53.000000000 +0200 +@@ -1,7 +1,7 @@ + top_builddir=../../.. + include $(top_builddir)/Makefile.config + +-INCLUDES += $(LUA_CFLAGS) ++INCLUDES += $(LUA_CFLAGS) $(CPPFLAGS) + + OBJS = lua.o hooks.o core.o + -- cgit