common/build-profiles contains the compilation flags used in native
builds, and are defined per architecture:
- x86_64 (glibc)
- x86_64-musl (musl)
If XBPS_CFLAGS or XBPS_CXXFLAGS are set in `etc/conf`, the settings
from the build profile will be overrided.
For example:
$ ./xbps-src install srcpkgs/foo
$ ./xbps-src install /path/to/void-packages/srcpkgs/foo
$ ./xbps-src install foo
$ cd srcpkgs/foo && xbps-src (if void-packages is in PATH)
The basename of the pkgname argument is now used.
- catching SIGHUP is meaningless.
- there's no point in clearning wkrsrc or removing autodeps, this is left
intact right now; this could be useful to have.
- There's no need to install rdeps into the masterdir, just base-files.
- There's no need to exit if XBPS_TARGET_PKG == sourcepkg, just return.
- After building base-chroot, install bootstrap binary packages.
Permanent global pkg build options can be defined via 'XBPS_PKG_OPTIONS' in etc/conf.
Permament per-pkg build options can be defined via 'XBPS_PKG_OPTIONS_<pkgname>' in etc/conf.
Close GH #452.
- If -H (hostdir) is unset, it now defaults to xbps-packages/hostdir. This way
a single hostdir can be shared by multiple masterdirs without any tweak.
- If bootstrap pkg are installed via 'binary-bootstrap arch', add support to
reexec xbps-src with linux32 to allow 32bit builds without any tweak or
additional commands.
* update-bulk:
This rebuilds all pkgs in system repositories that are outdated.
with this xbps-bulk is now considered fully obsolete.
* update-sys:
This rebuilds all pkgs in system that are oudated and once built,
updates them via xbps-install(8).
This target defines a new configuration option "XBPS_SUCMD" that
is the command to execute to update the system. By default set to
"sudo sh -c".
CAVEATS
- need to check if binpkg is in local repo.
- need to add support to specify alternative rootdir.
- need to add support to specify system repos.
That means that the Makefile and xbps-src generated files are not required
anymore, and the xbps-src script can be used as is.
Bump xbps requirement to 0.35 and enable XBPS_INSTALL_ARGS by default.