mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-28 09:01:55 +02:00
sys-libs/libseccomp: Sync with Gentoo
It's from Gentoo commit 1dc4c0c194edad65536af4838326f7cb13307523.
This commit is contained in:
parent
ed461f337b
commit
b3bdf07b28
@ -20,11 +20,11 @@ if [[ ${PV} == *9999 ]] ; then
|
|||||||
inherit autotools git-r3
|
inherit autotools git-r3
|
||||||
else
|
else
|
||||||
AUTOTOOLS_AUTO_DEPEND=no
|
AUTOTOOLS_AUTO_DEPEND=no
|
||||||
inherit autotools
|
inherit autotools libtool
|
||||||
SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz
|
SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz
|
||||||
experimental-loong? ( https://github.com/matoro/libseccomp/compare/v${PV}..loongarch-r1.patch
|
experimental-loong? ( https://github.com/matoro/libseccomp/compare/v${PV}..loongarch-r1.patch
|
||||||
-> ${P}-loongarch-r1.patch )"
|
-> ${P}-loongarch-r1.patch )"
|
||||||
KEYWORDS="-* amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 x86 ~amd64-linux ~x86-linux"
|
KEYWORDS="-* amd64 arm arm64 hppa ~loong ~mips ppc ppc64 ~riscv ~s390 x86 ~amd64-linux ~x86-linux"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
LICENSE="LGPL-2.1"
|
LICENSE="LGPL-2.1"
|
||||||
@ -78,6 +78,8 @@ src_prepare() {
|
|||||||
if [[ ${PV} == *9999 ]] || use experimental-loong; then
|
if [[ ${PV} == *9999 ]] || use experimental-loong; then
|
||||||
rm -f "include/seccomp.h" || die
|
rm -f "include/seccomp.h" || die
|
||||||
eautoreconf
|
eautoreconf
|
||||||
|
else
|
||||||
|
elibtoolize
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user