diff options
author | Tuan M. Hoang <tmhoang@flatglobe.org> | 2018-02-10 02:57:46 +0000 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2018-02-10 03:20:33 +0000 |
commit | 3e57180fdf3f90c30a25aea44f57846efc93a696 (patch) | |
tree | 78df26bfebb7c6df39dd40caac9631f9c62f025f /main/audit | |
parent | dd4e68704e077c27cd2b20a7e15cdea61d8f8b97 (diff) | |
download | aports-3e57180fdf3f90c30a25aea44f57846efc93a696.tar.bz2 aports-3e57180fdf3f90c30a25aea44f57846efc93a696.tar.xz |
main/audit: fix prefix, allow make check on s390x
prefix was set to /, now set to /usr
make check is okay on s390x
Diffstat (limited to 'main/audit')
-rw-r--r-- | main/audit/APKBUILD | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/main/audit/APKBUILD b/main/audit/APKBUILD index 7e85568dbc..c44db15ae0 100644 --- a/main/audit/APKBUILD +++ b/main/audit/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Tycho Andersen <tycho@docker.com> pkgname=audit pkgver=2.8.2 -pkgrel=0 +pkgrel=1 pkgdesc="User space tools for 2.6 kernel auditing" url="http://people.redhat.com/sgrubb/audit/" arch="all" @@ -16,11 +16,6 @@ source="http://people.redhat.com/sgrubb/audit/audit-$pkgver.tar.gz builddir="$srcdir/audit-$pkgver" -# FIXME: check on s390x -if [ "$CARCH" = "s390x" ]; then - options="!check" -fi - build() { if [ "$CARCH" = "ppc64le" ]; then WITHOUT="--without-python3 --without-python" @@ -30,7 +25,7 @@ build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ - --prefix=/ \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ @@ -56,8 +51,8 @@ package() { static() { pkgdesc="Static libaudit libraries" - mkdir -p "$subpkgdir"/lib/ - mv "$pkgdir"/lib/*.a "$subpkgdir"/lib/ + mkdir -p "$subpkgdir"/usr/lib/ + mv "$pkgdir"/usr/lib/*.a "$subpkgdir"/usr/lib/ } sha512sums="888ebf5e8e9d285b82d87377fc8836886d7a8b089c1be4091420a77a0250c9baf09aebb7a6330ff5043fb35f51eb6baf8d4491e26da7ad0811f0087e395b5012 audit-2.8.2.tar.gz |