aboutsummaryrefslogtreecommitdiffstats
path: root/main/libcap
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2016-07-06 14:21:00 +0000
committerTimo Teräs <timo.teras@iki.fi>2016-07-06 14:21:00 +0000
commit960827444a9ea3aad0b19bc37075a82e6f8a2546 (patch)
tree42aebb16a5c40267a578f18f1d7bc5af21c9c1a2 /main/libcap
parentd5d4ac46c0e0c5ace3aa1cea3c611f8af30f8c31 (diff)
downloadaports-960827444a9ea3aad0b19bc37075a82e6f8a2546.tar.bz2
aports-960827444a9ea3aad0b19bc37075a82e6f8a2546.tar.xz
main/libcap: fix .pc file generation
the $lib variable is prefixed with slash, so adding it ourselves would yield /usr//lib/. This in turn breaks cross compiling because pkgconf does not filter out system paths unless they match exactly.
Diffstat (limited to 'main/libcap')
-rw-r--r--main/libcap/APKBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/libcap/APKBUILD b/main/libcap/APKBUILD
index e261830e80..d6bcfd75ab 100644
--- a/main/libcap/APKBUILD
+++ b/main/libcap/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libcap
pkgver=2.25
-pkgrel=0
+pkgrel=1
pkgdesc="POSIX 1003.1e capabilities"
arch="all"
license="GPL"
@@ -18,7 +18,7 @@ _builddir="$srcdir"/$pkgname-$pkgver
build ()
{
cd "$_builddir"
- make BUILD_CC=gcc CC="${CC:-gcc}" lib=/lib prefix=/usr DESTDIR="$pkgdir"
+ make BUILD_CC=gcc CC="${CC:-gcc}" lib=lib prefix=/usr DESTDIR="$pkgdir"
}
package() {