xbps-src: set_build_options: read conf file for XBPS_PKG_OPTIONS.
This makes XBPS_PKG_OPTIONS* settings work via build.sh. Thanks chris2.
This commit is contained in:
parent
23a907eba6
commit
451411ad21
1 changed files with 2 additions and 0 deletions
|
@ -95,6 +95,8 @@ set_build_options() {
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
. $XBPS_CONFIG_FILE 2>/dev/null
|
||||||
|
|
||||||
for f in ${build_options}; do
|
for f in ${build_options}; do
|
||||||
_pkgname=${pkgname//\-/\_}
|
_pkgname=${pkgname//\-/\_}
|
||||||
eval pkgopts="\$XBPS_PKG_OPTIONS_${_pkgname}"
|
eval pkgopts="\$XBPS_PKG_OPTIONS_${_pkgname}"
|
||||||
|
|
Loading…
Reference in a new issue