Commit 96082744 authored by Timo Teräs's avatar Timo Teräs
Browse files

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.
parent d5d4ac46
# 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() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment