summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron M. Ucko <ucko@debian.org>2015-07-14 23:49:08 -0400
committerAaron M. Ucko <ucko@debian.org>2015-07-14 23:49:08 -0400
commitc7c2f17b6dc16a71ff082c84284d81b0f450d9e5 (patch)
tree898829452500d032ec0a668bad9ca7f062788ac9
parentbf6032f73a5219a2ca4df8c82f5e3cb76d733126 (diff)
Avoid bogus paths in FLTK-Targets-noconfig.cmake (#792386).
debian/rules: When postprocessing FLTK-Targets-noconfig.cmake, make sure it cites libfltk*.so rather than libfltk*.so.1.3.x, which the traditional build system doesn't produce. (Closes: #792386.)
-rw-r--r--debian/changelog5
-rwxr-xr-xdebian/rules1
2 files changed, 5 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 061f020..db20666 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,11 @@
fltk1.3 (1.3.3-2) UNRELEASED; urgency=medium
* NOT RELEASED YET.
+ * debian/rules: When postprocessing FLTK-Targets-noconfig.cmake, make
+ sure it cites libfltk*.so rather than libfltk*.so.1.3.x, which the
+ traditional build system doesn't produce. (Closes: #792386.)
- -- Aaron M. Ucko <ucko@debian.org> Tue, 14 Jul 2015 23:19:03 -0400
+ -- Aaron M. Ucko <ucko@debian.org> Tue, 14 Jul 2015 23:49:07 -0400
fltk1.3 (1.3.3-1) unstable; urgency=medium
diff --git a/debian/rules b/debian/rules
index f89c8ba..c0de9c5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -34,6 +34,7 @@ override_dh_auto_configure:
-DOPTION_BUILD_SHARED_LIBS:BOOL=ON -DOPTION_CREATE_LINKS:BOOL=ON ..
cp CMakeTmp/CMakeFiles/Export/lib/fltk/FLTK-Targets.cmake CMakeTmp/etc
sed -e 's,\$${_IMPORT_PREFIX}/lib/,&$(DEB_HOST_MULTIARCH)/,g' \
+ -e 's,\.so\.1\.3\.[0-9]*,.so,g' \
CMakeTmp/CMakeFiles/Export/lib/fltk/FLTK-Targets-noconfig.cmake \
> CMakeTmp/etc/FLTK-Targets-noconfig.cmake
dh_auto_configure -- CC="$(CC)" CXX="$(CXX)" \