[pktools] 16/28: Add patch to fix pkg-config install path.
Sebastiaan Couwenberg
sebastic at moszumanska.debian.org
Wed May 18 10:03:06 UTC 2016
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository pktools.
commit b337839253004296092e35d89f51f39a98c20e31
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Wed May 18 00:25:06 2016 +0200
Add patch to fix pkg-config install path.
---
debian/changelog | 1 +
debian/patches/pkg-config-install-path.patch | 15 +++++++++++++++
debian/patches/series | 1 +
3 files changed, 17 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 4933f59..11a9abd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -13,6 +13,7 @@ pktools (2.6.7-1) UNRELEASED; urgency=medium
* Update manpages for upstream changes.
* Add patch to fix SOVERSION.
* Add library package for libbase.
+ * Add patch to fix pkg-config install path.
-- Bas Couwenberg <sebastic at debian.org> Tue, 17 May 2016 20:46:48 +0200
diff --git a/debian/patches/pkg-config-install-path.patch b/debian/patches/pkg-config-install-path.patch
new file mode 100644
index 0000000..3685fdb
--- /dev/null
+++ b/debian/patches/pkg-config-install-path.patch
@@ -0,0 +1,15 @@
+Description: Install pkg-config file in <prefix>/lib/pkgconfig.
+ <prefix>/lib is not in the default search paths.
+Author: Bas Couwenberg <sebastic at debian.org>
+
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -359,7 +359,7 @@ endif()
+ #install (FILES "${PROJECT_BINARY_DIR}/pktools-config" DESTINATION bin PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
+ #test
+ install (FILES "${CMAKE_CURRENT_BINARY_DIR}/pktools-config" DESTINATION bin PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
+-install (FILES "pktools.pc" DESTINATION lib PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
++install (FILES "pktools.pc" DESTINATION lib/pkgconfig PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
+
+ if (PKTOOLS_WITH_UTILITIES)
+ install (TARGETS ${PKUTILITIES} DESTINATION bin PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
diff --git a/debian/patches/series b/debian/patches/series
index 0a55278..7eec781 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
soversion.patch
+pkg-config-install-path.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/pktools.git
More information about the Pkg-grass-devel
mailing list