summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2012-10-10 21:37:47 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2012-10-10 21:37:47 +0000
commitf9c314d07c9df284ee02a28aa084d98bfb4ab0fc (patch)
treee2596c3c3d5232c05f40a67b9cd045f0498df9b5
parentadfcc2112ef230d43978f0ad4f59c9d3997f9a4a (diff)
efl: do not support old pkg-config.
if the distro still wants to support the SUPER OLD pkg-config, then it will have to fix the generated .pc before installing them: {{{ sed -i 's/^Requires.private:/Requires:/g' pc/*.pc }}} SVN revision: 77818
-rw-r--r--configure.ac8
-rw-r--r--pc/eet.pc.in2
-rw-r--r--pc/eina.pc.in2
-rw-r--r--pc/eo.pc.in2
4 files changed, 3 insertions, 11 deletions
diff --git a/configure.ac b/configure.ac
index 9d0fa93099..f1a07782ef 100644
--- a/configure.ac
+++ b/configure.ac
@@ -169,14 +169,6 @@ if test "x${PKG_CONFIG}" = "x" ; then
169 AC_MSG_ERROR([pkg-config tool not found. Install it or set PKG_CONFIG environment variable to that path tool. Exiting...]) 169 AC_MSG_ERROR([pkg-config tool not found. Install it or set PKG_CONFIG environment variable to that path tool. Exiting...])
170fi 170fi
171 171
172# Check whether pkg-config supports Requires.private
173if ${PKG_CONFIG} --atleast-pkgconfig-version 0.22 ; then
174 pkgconfig_requires_private="Requires.private"
175else
176 pkgconfig_requires_private="Requires"
177fi
178AC_SUBST([pkgconfig_requires_private])
179
180# doxygen program for documentation building 172# doxygen program for documentation building
181 173
182EFL_CHECK_DOXYGEN([build_doc="yes"], [build_doc="no"]) 174EFL_CHECK_DOXYGEN([build_doc="yes"], [build_doc="no"])
diff --git a/pc/eet.pc.in b/pc/eet.pc.in
index ee958878be..af3304cf38 100644
--- a/pc/eet.pc.in
+++ b/pc/eet.pc.in
@@ -6,7 +6,7 @@ includedir=@includedir@
6Name: eet 6Name: eet
7Description: Library for speedy data storage, retrieval, and compression 7Description: Library for speedy data storage, retrieval, and compression
8Version: @VERSION@ 8Version: @VERSION@
9@pkgconfig_requires_private@: @requirements_pc_eet@ 9Requires.private: @requirements_pc_eet@
10Libs: -L${libdir} -leet 10Libs: -L${libdir} -leet
11Libs.private: @requirements_libs_eet@ -lm 11Libs.private: @requirements_libs_eet@ -lm
12Cflags: -I${includedir}/eet-@VMAJ@ 12Cflags: -I${includedir}/eet-@VMAJ@
diff --git a/pc/eina.pc.in b/pc/eina.pc.in
index 95b815b05f..c45b84f7d7 100644
--- a/pc/eina.pc.in
+++ b/pc/eina.pc.in
@@ -5,7 +5,7 @@ includedir=@includedir@
5 5
6Name: Eina 6Name: Eina
7Description: A Library that implements fast data types and miscellaneous tools 7Description: A Library that implements fast data types and miscellaneous tools
8@pkgconfig_requires_private@: @requirements_pc_eina@ 8Requires.private: @requirements_pc_eina@
9Version: @VERSION@ 9Version: @VERSION@
10Libs: -L${libdir} -leina @EFL_PTHREAD_LIBS@ 10Libs: -L${libdir} -leina @EFL_PTHREAD_LIBS@
11Libs.private: @EFL_PTHREAD_LIBS@ @requirements_libs_eina@ -lm 11Libs.private: @EFL_PTHREAD_LIBS@ @requirements_libs_eina@ -lm
diff --git a/pc/eo.pc.in b/pc/eo.pc.in
index 9abb5260c3..a58711bd4b 100644
--- a/pc/eo.pc.in
+++ b/pc/eo.pc.in
@@ -6,7 +6,7 @@ includedir=@includedir@
6Name: Eo 6Name: Eo
7Description: EFL's generic object system library. 7Description: EFL's generic object system library.
8Version: @PACKAGE_VERSION@ 8Version: @PACKAGE_VERSION@
9@pkgconfig_requires_private@: @requirements_pc_eo@ 9Requires.private: @requirements_pc_eo@
10Libs: -L${libdir} -leo 10Libs: -L${libdir} -leo
11Libs.private: 11Libs.private:
12Cflags: -I${includedir}/eo-@VMAJ@ 12Cflags: -I${includedir}/eo-@VMAJ@