[neon/extras/clazy/Neon/release] debian: cmake: force path of readlink

Pino Toscano null at kde.org
Wed Sep 7 22:14:02 BST 2022


Git commit 7635dbc83299960e319810744dcdef6fbed1e896 by Pino Toscano.
Committed on 15/08/2021 at 21:41.
Pushed by jriddell into branch 'Neon/release'.

cmake: force path of readlink

M  +2    -0    debian/changelog
M  +1    -1    debian/rules

https://invent.kde.org/neon/extras/clazy/commit/7635dbc83299960e319810744dcdef6fbed1e896

diff --git a/debian/changelog b/debian/changelog
index be9decf..434969d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,8 @@ clazy (1.10-0r1) UNRELEASED; urgency=medium
     - select-clangpp.diff: refresh
   * Update the build dependencies according to the upstream build system:
     - bump clang & LLVM to 8.0
+  * Pass -DREADLINK_CMD:FILEPATH=/usr/bin/readlink to cmake to force the path
+    of readlink(1), so it does not change depending on usrmerge.
 
  -- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>  Sun, 15 Aug 2021 17:50:04 +0200
 
diff --git a/debian/rules b/debian/rules
index 22b4993..112892f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -27,7 +27,7 @@ DPKG_ARCHITECTURE = $(shell dpkg --print-architecture)
 	dh $@
 
 override_dh_auto_configure:
-	dh_auto_configure -- -DCLANGPP_EXECUTABLE="$(CLANGPP)"
+	dh_auto_configure -- -DCLANGPP_EXECUTABLE="$(CLANGPP)" -DREADLINK_CMD:FILEPATH=/usr/bin/readlink
 
 override_dh_auto_install:
 	dh_auto_install --destdir=debian/clazy



More information about the Neon-commits mailing list