[Buildroot] [git commit] slang: make install-static do install-pkgconfig

Peter Korsgaard peter at korsgaard.com
Mon Mar 14 07:49:06 UTC 2016


commit: https://git.buildroot.net/buildroot/commit/?id=4dec74a5bdadcb23c241b8e97e84a5afe4459e6f
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

mc's configure can't find S-Lang because static S-Lang build doesn't
install pkgconfig file into staging. Adding install-pkgconfig to
install-static dependencies fixes that.

Fixes:
  http://autobuild.buildroot.net/results/085194f18bc7db1e801d98e6620e3a75fd988cc5/

Upstream status: patch submitted.

Signed-off-by: Max Filippov <jcmvbkbc at gmail.com>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 ...l-static-do-install-pkgconfig-as-install-.patch | 31 ++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/package/slang/0005-make-install-static-do-install-pkgconfig-as-install-.patch b/package/slang/0005-make-install-static-do-install-pkgconfig-as-install-.patch
new file mode 100644
index 0000000..1572e09
--- /dev/null
+++ b/package/slang/0005-make-install-static-do-install-pkgconfig-as-install-.patch
@@ -0,0 +1,31 @@
+From 294bcde1afa0b3866f339f82709e867d827cea6c Mon Sep 17 00:00:00 2001
+From: Max Filippov <jcmvbkbc at gmail.com>
+Date: Mon, 14 Mar 2016 07:28:56 +0300
+Subject: [PATCH] make install-static do install-pkgconfig as install-elf does
+
+...so that install-static installs everything needed for linking with
+slang. This fixes e.g. the following mc build:
+
+  http://autobuild.buildroot.net/results/085/085194f18bc7db1e801d98e6620e3a75fd988cc5/build-end.log
+
+Signed-off-by: Max Filippov <jcmvbkbc at gmail.com>
+---
+ autoconf/Makefile.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/autoconf/Makefile.in b/autoconf/Makefile.in
+index a6defa6..ca1ffb2 100644
+--- a/autoconf/Makefile.in
++++ b/autoconf/Makefile.in
+@@ -74,7 +74,7 @@ clean:
+ 	cd modules; $(MAKE) clean
+ 	cd slsh; $(MAKE) clean
+ 	cd demo; $(MAKE) clean
+-install-static:
++install-static: install-pkgconfig
+ 	cd src; $(MAKE) install-static
+ 	cd slsh; $(MAKE) install-static
+ install-pkgconfig: slang.pc
+-- 
+2.1.4
+


More information about the buildroot mailing list