packages: haserl/haserl-lua51.patch (NEW) - fix lua name in configure.ac

pawelz pawelz at pld-linux.org
Tue Oct 19 17:43:09 CEST 2010


Author: pawelz                       Date: Tue Oct 19 15:43:09 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix lua name in configure.ac

---- Files affected:
packages/haserl:
   haserl-lua51.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/haserl/haserl-lua51.patch
diff -u /dev/null packages/haserl/haserl-lua51.patch:1.1
--- /dev/null	Tue Oct 19 17:43:10 2010
+++ packages/haserl/haserl-lua51.patch	Tue Oct 19 17:43:04 2010
@@ -0,0 +1,15 @@
+--- haserl-0.9.27/configure.ac~	2010-10-18 01:13:04.000000000 +0200
++++ haserl-0.9.27/configure.ac	2010-10-19 17:34:10.000000000 +0200
+@@ -51,7 +51,11 @@
+ 	if pkg-config --exists lua5.1; then
+ 		LUALIB=lua5.1
+ 	else
+-		LUALIB=lua
++		if pkg-config --exists lua51; then
++			LUALIB=lua51
++		else 
++			LUALIB=lua
++		fi
+ 	fi
+ 	if test -z "$LUA_HDR_DIR"; then
+ 		CFLAGS="$CFLAGS `pkg-config $LUALIB --cflags`"
================================================================


More information about the pld-cvs-commit mailing list