xbps-src: refactor build logic into its own script (build.sh).
The build.sh script is now responsible to handle all the logic to build a source package and its subpackages, as well as all its required build dependencies. Thanks to this and subshells, dependencies are now built into its own child process, creating a process tree that can go nested as long as your system allows forking and has enough memory :-) This fixes some issues that have been while building pkgs that have lots of nested dependencies.
This commit is contained in:
@@ -63,8 +63,6 @@ else
|
||||
fi
|
||||
fi
|
||||
|
||||
touch -f $XBPS_CONFIGURE_DONE
|
||||
|
||||
# Run post_configure()
|
||||
if [ ! -f $XBPS_POSTCONFIGURE_DONE ]; then
|
||||
if declare -f post_configure >/dev/null; then
|
||||
@@ -75,4 +73,6 @@ fi
|
||||
|
||||
run_pkg_hooks post-configure
|
||||
|
||||
touch -f $XBPS_CONFIGURE_DONE
|
||||
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user