• Oliver Smith's avatar
    abuild: rename makedepends_host virtual package · c54d39d8
    Oliver Smith authored
    With a recent change in apk [1], virtual packages of the same name will
    upgrade each other. Adjust abuild to this by not using the same virtual
    package name for two types of dependencies.
    
    This fixes the way crosscompilers are built in postmarketOS [2], which
    is essentially the same as running this on Alpine's gcc aport:
    $ cd aports/main/gcc
    $ C_TARGET_ARCH=armhf CTARGET=armv6-alpine-linux-musleabihf \
      BOOTSTRAP=nobuildbase CBUILDROOT=/ abuild -r
    ...
    >>> gcc-armhf: Installing for host:
    (1/24) Upgrading .makedepends-gcc-armhf (20190714.104731 -> 20190714.104741)
    (2/24) Purging binutils-armhf (2.31.1-r2)
    ...
    
    [1] apk-tools.git 37fbafcd928c466c82c892a7868d686d710e5d07
        ("add: make virtual packages upgradeable (ref #9957)")
    [2] https://gitlab.com/postmarketOS/pmaports/blob/master/cross/gcc-armhf/APKBUILD
    
    Fixes: apk-tools#10649
    c54d39d8
Name
Last commit
Last update
.devbuildrc Loading commit data...
.editorconfig Loading commit data...
.gitignore Loading commit data...
APKBUILD.5 Loading commit data...
Makefile Loading commit data...
abuild-fetch.c Loading commit data...
abuild-gzsplit.c Loading commit data...
abuild-keygen.in Loading commit data...
abuild-rmtemp.c Loading commit data...
abuild-sign.in Loading commit data...
abuild-sudo.c Loading commit data...
abuild-tar.c Loading commit data...
abuild.conf Loading commit data...
abuild.in Loading commit data...
abump.in Loading commit data...
apkbuild-cpan.in Loading commit data...
apkbuild-gem-resolver.in Loading commit data...
apkbuild-pypi.in Loading commit data...
apkgrel.in Loading commit data...
bootchartd Loading commit data...
buildlab.in Loading commit data...
checkapk.in Loading commit data...
config.guess Loading commit data...
config.sub Loading commit data...
functions.sh.in Loading commit data...
newapkbuild.1 Loading commit data...
newapkbuild.in Loading commit data...
sample.APKBUILD Loading commit data...
sample.confd Loading commit data...
sample.initd Loading commit data...
sample.post-install Loading commit data...
sample.pre-install Loading commit data...