diff options
| author | Dariqq <dariqq@posteo.net> | 2025-08-09 12:55:45 +0000 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2026-02-10 17:33:15 +0100 |
| commit | bcc1881485769d1ed5dee743d493201fe481552c (patch) | |
| tree | a95e90fad40f3a756f0810e7640751ab5db825be /gnu | |
| parent | 3fe0b451c6c66fa0ae5ebb66ace677c0169e46b8 (diff) | |
gnu: Remove PKG_CONFIG_EXECUTABLE configure-flags.
* gnu/packages/bioinformatics.scm (vcflib): Remove setting
PKG_CONFIG_EXECUTABLE flag.
* gnu/packages/cpp.scm (hyprlang): same.
* gnu/packages/cpp.scm (hyprutils): same.
* gnu/packages/debian.scm (apt-cacher-ng): Same
* gnu/packages/linux.scm (rdma-core): Same.
* gnu/packages/radio.scm (libiio): Same.
* gnu/packages/security-token.scm (libfido2): Same.
* gnu/packages/version-control.scm (libgit2-1.9,libgit2-1.7): Same
* gnu/packages/vulkan.scm (vulcan-loader): Same.
Change-Id: I12cb5fb7f1a93fa01766b37a32777a269d4c089c
Signed-off-by: Greg Hogan <code@greghogan.com>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/bioinformatics.scm | 6 | ||||
| -rw-r--r-- | gnu/packages/cpp.scm | 24 | ||||
| -rw-r--r-- | gnu/packages/debian.scm | 6 | ||||
| -rw-r--r-- | gnu/packages/linux.scm | 15 | ||||
| -rw-r--r-- | gnu/packages/radio.scm | 4 | ||||
| -rw-r--r-- | gnu/packages/security-token.scm | 7 | ||||
| -rw-r--r-- | gnu/packages/version-control.scm | 19 | ||||
| -rw-r--r-- | gnu/packages/vulkan.scm | 7 |
8 files changed, 9 insertions, 79 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 825df814840..882cc77780a 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -22603,11 +22603,7 @@ sequences to accelerate the alignment process.") #~(list "-DZIG=OFF" "-DTABIXPP_LOCAL=OFF" "-DTABIX_FOUND=ON" - "-DWFA_GITMODULE=OFF" - (string-append "-DPKG_CONFIG_EXECUTABLE=" - (search-input-file - %build-inputs (string-append - "/bin/" #$(pkg-config-for-target))))) + "-DWFA_GITMODULE=OFF") #:tests? #f ; no tests #:phases #~(modify-phases %standard-phases diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index 625aeea4447..8be5aef9cb5 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -1050,17 +1050,6 @@ utilities used across the hypr* ecosystem.") (base32 "06wiizy73f0x6zj1ar878gm1w9zam1gmgjw0ybixj3qag0gxqv34")))) (build-system cmake-build-system) - (arguments - (list - #:phases - #~(modify-phases %standard-phases - (add-after 'unpack 'fix-cross-compilation - (lambda _ - (substitute* "CMakeLists.txt" - (("find_package.PkgConfig" all) - (string-append - "set(PKG_CONFIG_EXECUTABLE " #$(pkg-config-for-target) ")\n" - all)))))))) (native-inputs (list gcc-15 pkg-config)) (inputs (list hyprutils)) (home-page "https://wiki.hypr.land/Hypr-Ecosystem/hyprlang/") @@ -1084,18 +1073,7 @@ language used in Hyprland.") (base32 "1ymiqzncppdik8lw3ad7xaqig6c7bjcy7crcwbq3rjfk2hrc8rmc")))) (build-system cmake-build-system) - (arguments - (list - #:tests? #f ; No tests in Release build type - #:phases - #~(modify-phases %standard-phases - (add-after 'unpack 'fix-cross-compilation - (lambda _ - (substitute* "CMakeLists.txt" - (("find_package.PkgConfig" all) - (string-append - "set(PKG_CONFIG_EXECUTABLE " #$(pkg-config-for-target) ")\n" - all)))))))) + (arguments (list #:tests? #f)) ; No tests in Release build type (native-inputs (list gcc-15 pkg-config)) (inputs (list pixman)) (home-page "https://github.com/hyprwm/hyprutils") diff --git a/gnu/packages/debian.scm b/gnu/packages/debian.scm index 1a58474fa6a..c65c6d90cb7 100644 --- a/gnu/packages/debian.scm +++ b/gnu/packages/debian.scm @@ -646,12 +646,6 @@ debian/copyright for more information."))))) (native-inputs (list pkg-config)) (arguments (list - #:configure-flags - #~(list - (string-append "-DPKG_CONFIG_EXECUTABLE=" - (search-input-file - %build-inputs (string-append - "/bin/" #$(pkg-config-for-target))))) #:tests? #f ;Tests are "for development only". #:phases #~(modify-phases %standard-phases ;; We want to provide good defaults. Here apt-cacher-ng is built diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 27c5448f9bc..a46eb3f7215 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -8512,17 +8512,10 @@ from the ntfs-3g package. It is meant to be used in initrds.") ;; Upstream uses the "ninja" build system and encourage distros ;; to do the same for consistency. #:generator "Ninja" - #:configure-flags (list ,@(if (%current-target-system) - `((string-append - "-DPKG_CONFIG_EXECUTABLE=" - (search-input-file - %build-inputs - (string-append "/bin/" - ,(pkg-config-for-target))))) - '()) - (string-append "-DRST2MAN_EXECUTABLE=" - (search-input-file - %build-inputs "/bin/rst2man.py"))))) + #:configure-flags + (list (string-append "-DRST2MAN_EXECUTABLE=" + (search-input-file + %build-inputs "/bin/rst2man.py"))))) (native-inputs (list pkg-config python-wrapper python-docutils-0.19)) ;for 'rst2man' (inputs diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm index c87b9ff0171..5c26d5aa62a 100644 --- a/gnu/packages/radio.scm +++ b/gnu/packages/radio.scm @@ -224,10 +224,6 @@ used as a drop-in substitute for @code{libfec}.") #:tests? #f #:configure-flags #~(list - (string-append "-DPKG_CONFIG_EXECUTABLE=" - (search-input-file - %build-inputs - (string-append "/bin/" #$(pkg-config-for-target)))) (string-append "-DUDEV_RULES_INSTALL_DIR=" #$output "/lib/udev/rules.d") "-DOSX_PACKAGE=off" diff --git a/gnu/packages/security-token.scm b/gnu/packages/security-token.scm index d53a764615f..62f459550d5 100644 --- a/gnu/packages/security-token.scm +++ b/gnu/packages/security-token.scm @@ -1131,12 +1131,7 @@ phone and a running pcscd service are required.") (arguments (list #:configure-flags - #~(list (string-append - "-DPKG_CONFIG_EXECUTABLE=" - (search-input-file %build-inputs - (string-append - "/bin/" #$(pkg-config-for-target)))) - (string-append "-DUDEV_RULES_DIR=" #$output "/lib/udev/rules.d")) + #~(list (string-append "-DUDEV_RULES_DIR=" #$output "/lib/udev/rules.d")) ;; regress tests enabled only for debug builds #:tests? #f)) (synopsis "Library functionality and command-line tools for FIDO devices") diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index 6f28f35c5fe..e9505e6d33c 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -1275,15 +1275,6 @@ other git-like projects such as @code{libgit2}.") "-DREGEX_BACKEND=pcre2" "-DUSE_HTTP_PARSER=system" "-DUSE_SSH=ON" ; cmake fails to find libssh if this is missing - ,@(if (%current-target-system) - `((string-append - "-DPKG_CONFIG_EXECUTABLE=" - (search-input-file - %build-inputs - (string-append "/bin/" ,(%current-target-system) - "-pkg-config")))) - '()) - ;; See https://github.com/libgit2/libgit2/issues/7169 ,@(if (target-64bit?) '() '("-DCMAKE_C_FLAGS=-D_FILE_OFFSET_BITS=64")))) @@ -1369,15 +1360,7 @@ write native speed custom Git applications in any language with bindings.") `(list "-DUSE_NTLMCLIENT=OFF" ;TODO: package this "-DREGEX_BACKEND=pcre2" "-DUSE_HTTP_PARSER=system" - "-DUSE_SSH=ON" ; cmake fails to find libssh if this is missing - ,@(if (%current-target-system) - `((string-append - "-DPKG_CONFIG_EXECUTABLE=" - (search-input-file - %build-inputs - (string-append "/bin/" ,(%current-target-system) - "-pkg-config")))) - '()))))))) + "-DUSE_SSH=ON")))))) ; cmake fails to find libssh if this is missing (define-public libgit2-1.6 (package diff --git a/gnu/packages/vulkan.scm b/gnu/packages/vulkan.scm index 177b3b4bb71..5626b98bc15 100644 --- a/gnu/packages/vulkan.scm +++ b/gnu/packages/vulkan.scm @@ -403,12 +403,7 @@ Enhanced Subpixel Morphological Anti-Aliasing (search-input-directory %build-inputs "include/vulkan")))) #$@(if (%current-target-system) - #~("-DBUILD_TESTS=OFF" "-DUSE_GAS=OFF" - (string-append - "-DPKG_CONFIG_EXECUTABLE=" - (search-input-file - %build-inputs - (string-append "bin/" #$(pkg-config-for-target))))) + #~("-DBUILD_TESTS=OFF" "-DUSE_GAS=OFF") #~("-DBUILD_TESTS=ON"))) #:phases #~(modify-phases %standard-phases |
