From ea407d0a5ec21ee37cebfedbb0cdb9698a113e65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz?= Date: Wed, 25 Aug 2021 09:22:48 +0200 Subject: files/pkgconf: removed. files/pkgconf_host/bin/%[_target]-pkg-config: correctly set prefix. groups/100.native_tools.group:pkgconf:${PKG_INSTALL_FILES_V2}: updated. --- files/pkgconf/bin/%[_target]-pkg-config | 8 -------- files/pkgconf_host | 1 - files/pkgconf_host/bin/%[_target]-pkg-config | 8 ++++++++ 3 files changed, 8 insertions(+), 9 deletions(-) delete mode 100644 files/pkgconf/bin/%[_target]-pkg-config delete mode 120000 files/pkgconf_host create mode 100644 files/pkgconf_host/bin/%[_target]-pkg-config (limited to 'files') diff --git a/files/pkgconf/bin/%[_target]-pkg-config b/files/pkgconf/bin/%[_target]-pkg-config deleted file mode 100644 index dd6328fc..00000000 --- a/files/pkgconf/bin/%[_target]-pkg-config +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh -PREFIX=""; [ ${PREFIX:="${0%/*}"} = "${0}" ] && PREFIX="."; PREFIX="${PREFIX:+${PREFIX}/}.."; -if [ "${#}" -eq 1 ]\ -&& [ "x${1}" = "x--version" ]; then - "${PREFIX}/bin/pkgconf" --version; -else - "${PREFIX}/bin/pkgconf" --define-variable=prefix="${PREFIX%/}/" --keep-system-cflags "${@}"; -fi; diff --git a/files/pkgconf_host b/files/pkgconf_host deleted file mode 120000 index 243cd47f..00000000 --- a/files/pkgconf_host +++ /dev/null @@ -1 +0,0 @@ -pkgconf \ No newline at end of file diff --git a/files/pkgconf_host/bin/%[_target]-pkg-config b/files/pkgconf_host/bin/%[_target]-pkg-config new file mode 100644 index 00000000..7351e62f --- /dev/null +++ b/files/pkgconf_host/bin/%[_target]-pkg-config @@ -0,0 +1,8 @@ +#!/bin/sh +PREFIX=""; [ ${PREFIX:="${0%/*}"} = "${0}" ] && PREFIX="."; PREFIX="${PREFIX:+${PREFIX}/}.."; +if [ "${#}" -eq 1 ]\ +&& [ "x${1}" = "x--version" ]; then + "${PREFIX}/bin/pkgconf" --version; +else + "${PREFIX}/bin/pkgconf" --define-variable=prefix="${PREFIX%/}/native" --keep-system-cflags "${@}"; +fi; -- cgit v1.2.3