From 5f58181149269bea552801b54aa6c4a8d65a0a37 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Tue, 5 Jul 2022 22:03:24 +0200 Subject: [PATCH] - pkgconf: use $VERBOSE variable --- package/pkgconf/files/pkg-config.in | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/package/pkgconf/files/pkg-config.in b/package/pkgconf/files/pkg-config.in index 6ef03778..8a927b47 100644 --- a/package/pkgconf/files/pkg-config.in +++ b/package/pkgconf/files/pkg-config.in @@ -6,10 +6,12 @@ DEFAULT_PKG_CONFIG_SYSROOT_DIR=${PKGCONFDIR}/../../root DEFAULT_PKG_CONFIG_SYSTEM_INCLUDE_PATH=${PKGCONFDIR}/../../root/usr/include DEFAULT_PKG_CONFIG_SYSTEM_LIBRARY_PATH=${PKGCONFDIR}/../../root/usr/lib -set -x +if [ "${VERBOSE}" == "1" ]; then + set -x +fi PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR:-${DEFAULT_PKG_CONFIG_LIBDIR}} \ - PKG_CONFIG_SYSROOT_DIR=${PKG_CONFIG_SYSROOT_DIR:-${DEFAULT_PKG_CONFIG_SYSROOT_DIR}} \ - PKG_CONFIG_SYSTEM_INCLUDE_PATH=${PKG_CONFIG_SYSTEM_INCLUDE_PATH:-${DEFAULT_PKG_CONFIG_SYSTEM_INCLUDE_PATH}} \ - PKG_CONFIG_SYSTEM_LIBRARY_PATH=${PKG_CONFIG_SYSTEM_LIBRARY_PATH:-${DEFAULT_PKG_CONFIG_SYSTEM_LIBRARY_PATH}} \ +PKG_CONFIG_SYSROOT_DIR=${PKG_CONFIG_SYSROOT_DIR:-${DEFAULT_PKG_CONFIG_SYSROOT_DIR}} \ +PKG_CONFIG_SYSTEM_INCLUDE_PATH=${PKG_CONFIG_SYSTEM_INCLUDE_PATH:-${DEFAULT_PKG_CONFIG_SYSTEM_INCLUDE_PATH}} \ +PKG_CONFIG_SYSTEM_LIBRARY_PATH=${PKG_CONFIG_SYSTEM_LIBRARY_PATH:-${DEFAULT_PKG_CONFIG_SYSTEM_LIBRARY_PATH}} \ exec ${PKGCONFDIR}/pkgconf --keep-system-libs "$@"