guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#75146] [PATCH v4 03/68] gnu: xfce4-dev-tools: Fix XDT_CHECK_PACKAGE


From: iyzsong
Subject: [bug#75146] [PATCH v4 03/68] gnu: xfce4-dev-tools: Fix XDT_CHECK_PACKAGE_BINARY for non-absolute paths.
Date: Tue, 31 Dec 2024 14:43:33 +0800

From: 宋文武 <iyzsong@member.fsf.org>

* gnu/packages/xfce.scm (xfce4-dev-tools)[arguments]: Add
'fix-XDT_CHECK_PACKAGE_BINARY phase.

Change-Id: I944428764b821da2958b42df3ae743e79f25ce0e
---
 gnu/packages/xfce.scm | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index 83d78bfc19..175c613a16 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -2324,7 +2324,16 @@ (define-public xfce4-dev-tools
     (build-system gnu-build-system)
     (arguments
      (list
-      #:configure-flags #~(list "--enable-maintainer-mode"))) ;for 
xdt-csource.1
+      #:configure-flags #~(list "--enable-maintainer-mode") ;for xdt-csource.1
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-before 'configure 'fix-XDT_CHECK_PACKAGE_BINARY
+            (lambda _
+              (substitute* "m4macros/xdt-depends.m4"
+                ;; Our pkg-config doesn't report absolute paths for this
+                ;; executable check.
+                (("-a -x \"\\$\\$1\"")
+                 "-a -x `command -v \"$$1\"`")))))))
     (native-inputs (list autoconf
                          automake
                          docbook-xsl
-- 
2.46.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]