libffi: fix its stupid pkg-config file.
This commit is contained in:
parent
0991261353
commit
dae2756809
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'libffi'
|
||||
pkgname=libffi
|
||||
version=3.1
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
configure_args="--includedir=/usr/include --with-pic=yes"
|
||||
short_desc="Library supporting Foreign Function Interfaces"
|
||||
|
@ -20,6 +20,8 @@ post_install() {
|
|||
# Fix includedir for pkg-config file.
|
||||
sed -i -e "s|\${libdir}/libffi-${version}|/usr|" \
|
||||
${DESTDIR}/usr/lib/pkgconfig/libffi.pc
|
||||
# Fix libdir, it's a variable!
|
||||
sed -i 's|\$(libdir)|\${libdir}|g' ${DESTDIR}/usr/lib/pkgconfig/libffi.pc
|
||||
vinstall LICENSE 644 usr/share/licenses/libffi
|
||||
rm ${DESTDIR}/usr/lib64
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue