mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 13:57:14 +02:00
main/fakeroot: set priority above -tcp
This commit is contained in:
parent
0e3baa7607
commit
041bba3c43
@ -1,7 +1,8 @@
|
|||||||
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
||||||
pkgname=fakeroot
|
pkgname=fakeroot
|
||||||
pkgver=1.31
|
pkgver=1.31
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
|
provider_priority=100
|
||||||
pkgdesc="Gives a fake root environment, useful for building packages as a non-privileged user"
|
pkgdesc="Gives a fake root environment, useful for building packages as a non-privileged user"
|
||||||
arch="all"
|
arch="all"
|
||||||
license="GPL-3.0-or-later"
|
license="GPL-3.0-or-later"
|
||||||
@ -21,14 +22,17 @@ source="https://deb.debian.org/debian/pool/main/f/fakeroot/fakeroot_$pkgver.orig
|
|||||||
fix-format.patch
|
fix-format.patch
|
||||||
"
|
"
|
||||||
|
|
||||||
build() {
|
prepare() {
|
||||||
if [ "$CLIBC" = "musl" ]; then
|
default_prepare
|
||||||
# musl does not have _STAT_VER, it's really not used for
|
|
||||||
# anything, so define it as zero (just like uclibc does)
|
|
||||||
export CFLAGS="-D_STAT_VER=0 $CFLAGS"
|
|
||||||
fi
|
|
||||||
|
|
||||||
CONFIG_SHELL=/bin/sh ./bootstrap
|
CONFIG_SHELL=/bin/sh ./bootstrap
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
# musl does not have _STAT_VER, it's really not used for
|
||||||
|
# anything, so define it as zero (just like uclibc does)
|
||||||
|
export CFLAGS="-D_STAT_VER=0 $CFLAGS"
|
||||||
|
|
||||||
CONFIG_SHELL=/bin/sh ./configure \
|
CONFIG_SHELL=/bin/sh ./configure \
|
||||||
--build=$CBUILD \
|
--build=$CBUILD \
|
||||||
--host=$CHOST \
|
--host=$CHOST \
|
||||||
|
Loading…
Reference in New Issue
Block a user