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
|
@ -95,6 +95,8 @@ set_build_options() {
|
|||
return 0
|
||||
fi
|
||||
|
||||
. $XBPS_CONFIG_FILE 2>/dev/null
|
||||
|
||||
for f in ${build_options}; do
|
||||
_pkgname=${pkgname//\-/\_}
|
||||
eval pkgopts="\$XBPS_PKG_OPTIONS_${_pkgname}"
|
||||
|
|
Loading…
Reference in New Issue