Infrastructure changes to allow unsetting template vars/funcs.
xbps-src-112 does not unset those vars/funcs anymore, so it's a work that must be done via common/environment/setup{,-subpkg}.
This commit is contained in:
parent
38c7494c9e
commit
0026342862
10 changed files with 89 additions and 12 deletions
|
@ -1,5 +1,7 @@
|
|||
# This snippet setups pkg-config vars.
|
||||
|
||||
set -a
|
||||
|
||||
if [ -z "$CHROOT_READY" ]; then
|
||||
PKG_CONFIG_PATH="${XBPS_MASTERDIR}/usr/lib/pkgconfig:${XBPS_MASTERDIR}/usr/share/pkgconfig"
|
||||
fi
|
||||
|
@ -9,3 +11,5 @@ if [ "$CROSS_BUILD" ]; then
|
|||
PKG_CONFIG_PATH="$XBPS_CROSS_BASE/lib/pkgconfig:$XBPS_CROSS_BASE/usr/share/pkgconfig"
|
||||
PKG_CONFIG_LIBDIR="$XBPS_CROSS_BASE/lib/pkgconfig"
|
||||
fi
|
||||
|
||||
set +a
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue