summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/libsolv/libsolv/0001-Split-libsolvext-into-it-s-own-pkg-config-file.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/libsolv/libsolv/0001-Split-libsolvext-into-it-s-own-pkg-config-file.patch')
-rw-r--r--meta/recipes-extended/libsolv/libsolv/0001-Split-libsolvext-into-it-s-own-pkg-config-file.patch67
1 files changed, 0 insertions, 67 deletions
diff --git a/meta/recipes-extended/libsolv/libsolv/0001-Split-libsolvext-into-it-s-own-pkg-config-file.patch b/meta/recipes-extended/libsolv/libsolv/0001-Split-libsolvext-into-it-s-own-pkg-config-file.patch
deleted file mode 100644
index 9d9b234a94..0000000000
--- a/meta/recipes-extended/libsolv/libsolv/0001-Split-libsolvext-into-it-s-own-pkg-config-file.patch
+++ /dev/null
@@ -1,67 +0,0 @@
1From 0830ceffb32bdf61dab2a598b9e77f65d089074f Mon Sep 17 00:00:00 2001
2From: Alejandro del Castillo <alejandro.delcastillo@ni.com>
3Date: Fri, 27 Jan 2017 16:10:14 -0600
4Subject: [PATCH] Split libsolvext into it's own pkg-config file
5
6Upstream-Status: Submitted (https://github.com/openSUSE/libsolv/pull/177)
7
8Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
9---
10 CMakeLists.txt | 4 +++-
11 libsolv.pc.in | 4 ++--
12 libsolv.pc.in => libsolvext.pc.in | 4 ++--
13 3 files changed, 7 insertions(+), 5 deletions(-)
14 copy libsolv.pc.in => libsolvext.pc.in (62%)
15
16diff --git a/CMakeLists.txt b/CMakeLists.txt
17index 82034e0..0777ed9 100644
18--- a/CMakeLists.txt
19+++ b/CMakeLists.txt
20@@ -384,9 +384,11 @@ MACRO (SPECFILE)
21 ENDMACRO (SPECFILE)
22
23 MACRO (PCFILE)
24- MESSAGE (STATUS "Writing pkg-config file...")
25+ MESSAGE (STATUS "Writing pkg-config files...")
26 CONFIGURE_FILE (${CMAKE_SOURCE_DIR}/libsolv.pc.in ${CMAKE_BINARY_DIR}/libsolv.pc @ONLY)
27 INSTALL( FILES ${CMAKE_BINARY_DIR}/libsolv.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig )
28+ CONFIGURE_FILE (${CMAKE_SOURCE_DIR}/libsolvext.pc.in ${CMAKE_BINARY_DIR}/libsolvext.pc @ONLY)
29+ INSTALL( FILES ${CMAKE_BINARY_DIR}/libsolvext.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig )
30 ENDMACRO (PCFILE)
31
32 SPECFILE ()
33diff --git a/libsolv.pc.in b/libsolv.pc.in
34index c82dfc4..40a8623 100644
35--- a/libsolv.pc.in
36+++ b/libsolv.pc.in
37@@ -2,7 +2,7 @@ libdir=@LIB_INSTALL_DIR@
38 includedir=@INCLUDE_INSTALL_DIR@
39
40 Name: libsolv
41-Description: Library for solving packages and reading repositories
42+Description: Library for solving packages
43 Version: @VERSION@
44-Libs: -L${libdir} -lsolvext -lsolv
45+Libs: -L${libdir} -lsolv
46 Cflags: -I${includedir}
47diff --git a/libsolv.pc.in b/libsolvext.pc.in
48similarity index 62%
49copy from libsolv.pc.in
50copy to libsolvext.pc.in
51index c82dfc4..6395f39 100644
52--- a/libsolv.pc.in
53+++ b/libsolvext.pc.in
54@@ -1,8 +1,8 @@
55 libdir=@LIB_INSTALL_DIR@
56 includedir=@INCLUDE_INSTALL_DIR@
57
58-Name: libsolv
59-Description: Library for solving packages and reading repositories
60+Name: libsolvext
61+Description: Library for reading repositories
62 Version: @VERSION@
63 Libs: -L${libdir} -lsolvext -lsolv
64 Cflags: -I${includedir}
65--
662.7.4
67