mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +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>
|
||||
pkgname=fakeroot
|
||||
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"
|
||||
arch="all"
|
||||
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
|
||||
"
|
||||
|
||||
build() {
|
||||
if [ "$CLIBC" = "musl" ]; then
|
||||
# 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
|
||||
prepare() {
|
||||
default_prepare
|
||||
|
||||
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 \
|
||||
--build=$CBUILD \
|
||||
--host=$CHOST \
|
||||
|
Loading…
Reference in New Issue
Block a user