summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2014-07-19 17:03:00 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-07-19 17:14:58 +0200
commit63641393850e5b3d5c889cd304790ea0e7dedb5e (patch)
tree3d430534b325577b6323eb9e7543f6f1f93b6293
parent0be26ad401a6e869c8b456d0935737c8dc2ea8d0 (diff)
downloadbuildroot-63641393850e5b3d5c889cd304790ea0e7dedb5e.tar.gz
buildroot-63641393850e5b3d5c889cd304790ea0e7dedb5e.zip
package/libfcgi: do not build examples
Examples do not compile for a static build, because libtool forcibly wants to link against the shared version of libstdc++.so, instead of the static version. Since we do not really need the examples on the target, just disable them, it is easier than fixing libtool. Also, while we're at it, rename the patches to include a sequence number. Fixes: http://autobuild.buildroot.org/results/66e/66e19cfd5a6048d2aaa46365518ea875e0abcb4d/ http://autobuild.buildroot.org/results/71d/71d9ba50b41efa05a3aff06c24412d5e8b81d8f1/ [Thomas: edit commit log to indicate that the patches are renamed to include a sequence number.] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/libfcgi/libfcgi-0000-eof.patch (renamed from package/libfcgi/libfcgi-eof.patch)0
-rw-r--r--package/libfcgi/libfcgi-0001-link-against-libfcgi-la.patch (renamed from package/libfcgi/libfcgi-link-against-libfcgi-la.patch)0
-rw-r--r--package/libfcgi/libfcgi-0002-link-against-math.patch (renamed from package/libfcgi/libfcgi-link-against-math.patch)0
-rw-r--r--package/libfcgi/libfcgi-0003-make-autoreconfable.patch (renamed from package/libfcgi/libfcgi-make-autoreconfable.patch)0
-rw-r--r--package/libfcgi/libfcgi-0004-disable-examples.patch21
5 files changed, 21 insertions, 0 deletions
diff --git a/package/libfcgi/libfcgi-eof.patch b/package/libfcgi/libfcgi-0000-eof.patch
index e7314265a2..e7314265a2 100644
--- a/package/libfcgi/libfcgi-eof.patch
+++ b/package/libfcgi/libfcgi-0000-eof.patch
diff --git a/package/libfcgi/libfcgi-link-against-libfcgi-la.patch b/package/libfcgi/libfcgi-0001-link-against-libfcgi-la.patch
index 8a5973ac5b..8a5973ac5b 100644
--- a/package/libfcgi/libfcgi-link-against-libfcgi-la.patch
+++ b/package/libfcgi/libfcgi-0001-link-against-libfcgi-la.patch
diff --git a/package/libfcgi/libfcgi-link-against-math.patch b/package/libfcgi/libfcgi-0002-link-against-math.patch
index 4c87ea6786..4c87ea6786 100644
--- a/package/libfcgi/libfcgi-link-against-math.patch
+++ b/package/libfcgi/libfcgi-0002-link-against-math.patch
diff --git a/package/libfcgi/libfcgi-make-autoreconfable.patch b/package/libfcgi/libfcgi-0003-make-autoreconfable.patch
index e255fc6d3b..e255fc6d3b 100644
--- a/package/libfcgi/libfcgi-make-autoreconfable.patch
+++ b/package/libfcgi/libfcgi-0003-make-autoreconfable.patch
diff --git a/package/libfcgi/libfcgi-0004-disable-examples.patch b/package/libfcgi/libfcgi-0004-disable-examples.patch
new file mode 100644
index 0000000000..4a9916f02a
--- /dev/null
+++ b/package/libfcgi/libfcgi-0004-disable-examples.patch
@@ -0,0 +1,21 @@
+Common subdirectories: libfcgi-2.4.0.orig/cgi-fcgi and libfcgi-2.4.0/cgi-fcgi
+Common subdirectories: libfcgi-2.4.0.orig/doc and libfcgi-2.4.0/doc
+Common subdirectories: libfcgi-2.4.0.orig/examples and libfcgi-2.4.0/examples
+Common subdirectories: libfcgi-2.4.0.orig/images and libfcgi-2.4.0/images
+Common subdirectories: libfcgi-2.4.0.orig/include and libfcgi-2.4.0/include
+Common subdirectories: libfcgi-2.4.0.orig/java and libfcgi-2.4.0/java
+Common subdirectories: libfcgi-2.4.0.orig/libfcgi and libfcgi-2.4.0/libfcgi
+diff -du libfcgi-2.4.0.orig/Makefile.am libfcgi-2.4.0/Makefile.am
+--- libfcgi-2.4.0.orig/Makefile.am 2001-12-22 14:05:39.000000000 +0100
++++ libfcgi-2.4.0/Makefile.am 2014-07-19 16:56:21.935216540 +0200
+@@ -4,7 +4,7 @@
+ # $Id: Makefile.am,v 1.7 2001/12/22 13:05:39 robs Exp $
+ #
+
+-SUBDIRS = libfcgi cgi-fcgi examples include
++SUBDIRS = libfcgi cgi-fcgi include
+
+ include_HEADERS = fcgi_config.h
+
+Common subdirectories: libfcgi-2.4.0.orig/perl and libfcgi-2.4.0/perl
+Common subdirectories: libfcgi-2.4.0.orig/Win32 and libfcgi-2.4.0/Win32
OpenPOWER on IntegriCloud