[Git][debian-gis-team/hdf4][experimental] Add patch to fix pkg-config {include,lib}dir paths.
Bas Couwenberg (@sebastic)
gitlab at salsa.debian.org
Sat Sep 5 17:17:17 BST 2026
Bas Couwenberg pushed to branch experimental at Debian GIS Project / hdf4
Commits:
2e8527da by Bas Couwenberg at 2026-09-05T18:17:05+02:00
Add patch to fix pkg-config {include,lib}dir paths.
- - - - -
3 changed files:
- debian/changelog
- + debian/patches/pkg-config.patch
- debian/patches/series
Changes:
=====================================
debian/changelog
=====================================
@@ -1,6 +1,8 @@
libhdf4 (4.4.0-1~exp2) UNRELEASED; urgency=medium
+ * Team upload.
* Have libhdf4-dev recommend pkgconf.
+ * Add patch to fix pkg-config {include,lib}dir paths.
-- Bas Couwenberg <sebastic at debian.org> Fri, 04 Sep 2026 15:12:48 +0200
=====================================
debian/patches/pkg-config.patch
=====================================
@@ -0,0 +1,17 @@
+Description: Fix pkg-config {include,lib}dir paths.
+Author: Bas Couwenberg <sebastic at debian.org>
+Forwarded: https://github.com/HDFGroup/hdf4/pull/924
+
+--- a/mfhdf/src/CMakeLists.txt
++++ b/mfhdf/src/CMakeLists.txt
+@@ -130,8 +130,8 @@ install (
+ #-----------------------------------------------------------------------------
+ set (_PKG_CONFIG_PREFIX ${CMAKE_INSTALL_PREFIX})
+ set (_PKG_CONFIG_EXEC_PREFIX \${prefix})
+-set (_PKG_CONFIG_LIBDIR \${exec_prefix}/lib)
+-set (_PKG_CONFIG_INCLUDEDIR \${prefix}/include)
++set (_PKG_CONFIG_LIBDIR \${exec_prefix}/${HDF4_INSTALL_LIB_DIR})
++set (_PKG_CONFIG_INCLUDEDIR \${prefix}/${HDF4_INSTALL_INCLUDE_DIR})
+ set (_PKG_CONFIG_LIBNAME "${HDF4_SRC_LIB_CORENAME}")
+ set (_PKG_CONFIG_VERSION "${HDF4_PACKAGE_VERSION}")
+ set (PKGCONFIG_LIBNAME "${HDF4_SRC_LIB_CORENAME}")
=====================================
debian/patches/series
=====================================
@@ -1 +1,2 @@
reproducible-builds.patch
+pkg-config.patch
View it on GitLab: https://salsa.debian.org/debian-gis-team/hdf4/-/commit/2e8527da0adb62aef90d8046dc333d189caa5710
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/hdf4/-/commit/2e8527da0adb62aef90d8046dc333d189caa5710
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20260905/6bd6a18f/attachment-0001.htm>
More information about the Pkg-grass-devel
mailing list