summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/dnsmasq
diff options
context:
space:
mode:
authorChristopher Larson <chris_larson@mentor.com>2014-08-11 09:12:25 -0700
committerMartin Jansa <Martin.Jansa@gmail.com>2014-08-13 23:28:04 +0200
commitf1e112fa688aa0900ebdbcc31d88c6ce91251495 (patch)
tree126e6ab82a079527e6992fb60d777ab758cbf7bb /meta-networking/recipes-support/dnsmasq
parenta46abacebdf83cd20f421828435e0403f5f3eb8d (diff)
downloadmeta-openembedded-f1e112fa688aa0900ebdbcc31d88c6ce91251495.tar.gz
dnsmasq: look for lua.pc, not lua5.1.pc
Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-networking/recipes-support/dnsmasq')
-rw-r--r--meta-networking/recipes-support/dnsmasq/dnsmasq/lua.patch16
-rw-r--r--meta-networking/recipes-support/dnsmasq/dnsmasq/parallel-make.patch (renamed from meta-networking/recipes-support/dnsmasq/files/parallel-make.patch)0
-rw-r--r--meta-networking/recipes-support/dnsmasq/dnsmasq_2.68.bb5
3 files changed, 20 insertions, 1 deletions
diff --git a/meta-networking/recipes-support/dnsmasq/dnsmasq/lua.patch b/meta-networking/recipes-support/dnsmasq/dnsmasq/lua.patch
new file mode 100644
index 000000000..aac7b97a1
--- /dev/null
+++ b/meta-networking/recipes-support/dnsmasq/dnsmasq/lua.patch
@@ -0,0 +1,16 @@
1Upstream-status: Inappropriate [OE specific]
2Signed-off-by: Christopher Larson <chris_larson@mentor.com>
3
4--- dnsmasq-2.68.orig/Makefile 2014-08-11 09:05:17.000000000 -0700
5+++ dnsmasq-2.68/Makefile 2014-08-11 09:05:51.930648617 -0700
6@@ -57,8 +57,8 @@
7 idn_libs = `echo $(COPTS) | $(top)/bld/pkg-wrapper HAVE_IDN $(PKG_CONFIG) --libs libidn`
8 ct_cflags = `echo $(COPTS) | $(top)/bld/pkg-wrapper HAVE_CONNTRACK $(PKG_CONFIG) --cflags libnetfilter_conntrack`
9 ct_libs = `echo $(COPTS) | $(top)/bld/pkg-wrapper HAVE_CONNTRACK $(PKG_CONFIG) --libs libnetfilter_conntrack`
10-lua_cflags = `echo $(COPTS) | $(top)/bld/pkg-wrapper HAVE_LUASCRIPT $(PKG_CONFIG) --cflags lua5.1`
11-lua_libs = `echo $(COPTS) | $(top)/bld/pkg-wrapper HAVE_LUASCRIPT $(PKG_CONFIG) --libs lua5.1`
12+lua_cflags = `echo $(COPTS) | $(top)/bld/pkg-wrapper HAVE_LUASCRIPT $(PKG_CONFIG) --cflags lua`
13+lua_libs = `echo $(COPTS) | $(top)/bld/pkg-wrapper HAVE_LUASCRIPT $(PKG_CONFIG) --libs lua`
14 sunos_libs = `if uname | grep SunOS >/dev/null 2>&1; then echo -lsocket -lnsl -lposix4; fi`
15 version = -DVERSION='\"`$(top)/bld/get-version $(top)`\"'
16
diff --git a/meta-networking/recipes-support/dnsmasq/files/parallel-make.patch b/meta-networking/recipes-support/dnsmasq/dnsmasq/parallel-make.patch
index 6d5b722ea..6d5b722ea 100644
--- a/meta-networking/recipes-support/dnsmasq/files/parallel-make.patch
+++ b/meta-networking/recipes-support/dnsmasq/dnsmasq/parallel-make.patch
diff --git a/meta-networking/recipes-support/dnsmasq/dnsmasq_2.68.bb b/meta-networking/recipes-support/dnsmasq/dnsmasq_2.68.bb
index 6caa92a92..61b94a073 100644
--- a/meta-networking/recipes-support/dnsmasq/dnsmasq_2.68.bb
+++ b/meta-networking/recipes-support/dnsmasq/dnsmasq_2.68.bb
@@ -1,6 +1,9 @@
1require dnsmasq.inc 1require dnsmasq.inc
2 2
3SRC_URI += "file://parallel-make.patch" 3SRC_URI += "\
4 file://parallel-make.patch \
5 file://lua.patch \
6"
4 7
5SRC_URI[dnsmasq-2.68.md5sum] = "6f8351ca0901f248efdb81532778d2ef" 8SRC_URI[dnsmasq-2.68.md5sum] = "6f8351ca0901f248efdb81532778d2ef"
6SRC_URI[dnsmasq-2.68.sha256sum] = "402019d61f53f1ccc04cc6218719fd3b158ea3fca9a83ab55471f981a2097c2f" 9SRC_URI[dnsmasq-2.68.sha256sum] = "402019d61f53f1ccc04cc6218719fd3b158ea3fca9a83ab55471f981a2097c2f"