aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2007-07-30 22:53:58 +0800
committerarved <arved@FreeBSD.org>2007-07-30 22:53:58 +0800
commit6d73d97535f5029afbb75e7f5a936e949b9f4956 (patch)
tree7cc38956ce04d73b8b924239b69b8bcd20ebd763
parentb48b553a628cf2be4ccc07e623cd9e3523128eb2 (diff)
downloadfreebsd-ports-gnome-6d73d97535f5029afbb75e7f5a936e949b9f4956.tar.gz
freebsd-ports-gnome-6d73d97535f5029afbb75e7f5a936e949b9f4956.tar.zst
freebsd-ports-gnome-6d73d97535f5029afbb75e7f5a936e949b9f4956.zip
Fix Lua detection.
PR: 113498 Reported by: clemens fischer <ino-news@spotteswoode.dnsalias.org> Approved by: maintainer timeout
-rw-r--r--www/elinks/Makefile3
-rw-r--r--www/elinks/files/patch-src_scripting_lua_Makefile11
2 files changed, 13 insertions, 1 deletions
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
+