guix-patches
[Top][All Lists]
Advanced

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

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


From: iyzsong
Subject: [bug#75146] [PATCH v3 03/16] gnu: xfce4-dev-tools: Fix XDT_CHECK_PACKAGE_BINARY for non-absolute paths.
Date: Mon, 30 Dec 2024 22:21:48 +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 | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index 83d78bfc19..7c1f9cf3a8 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -2325,6 +2325,15 @@ (define-public xfce4-dev-tools
     (arguments
      (list
       #: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]