GNU bug report logs -
#75146
[PATCH v0 00/15] XFCE: Move source from generated archive to git.
Previous Next
Full log
Message #179 received at 75146 <at> debbugs.gnu.org (full text, mbox):
From: 宋文武 <iyzsong <at> 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
This bug report was last modified 197 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.