mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
dbus: fix pkg-config file
This commit is contained in:
@@ -13,7 +13,7 @@ use behind a firewall with shared NFS home directories."
|
||||
HOMEPAGE="https://freedesktop.org/wiki/Software/dbus/"
|
||||
COPYRIGHT="2014 Red Hat, Inc."
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://dbus.freedesktop.org/releases/dbus/dbus-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="f77620140ecb4cdc67f37fb444f8a6bea70b5b6461f12f1cbe2cec60fa7de5fe"
|
||||
PATCHES="dbus-$portVersion.patchset"
|
||||
@@ -68,6 +68,7 @@ PROVIDES_devel="
|
||||
"
|
||||
REQUIRES_devel="
|
||||
dbus$secondaryArchSuffix == $portVersion base
|
||||
devel:libexecinfo$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
@@ -118,6 +119,11 @@ INSTALL()
|
||||
mv $libDir/dbus-1.0/include/dbus/*.h $includeDir/dbus-1.0/dbus/
|
||||
rm -rf $libDir/dbus-1.0/
|
||||
|
||||
sed -i \
|
||||
-e 's|-I${libdir}/dbus-1.0/include||' \
|
||||
-e "s|prefix}/include|prefix}/$relativeIncludeDir|g" \
|
||||
$libDir/pkgconfig/dbus-1.pc
|
||||
|
||||
prepareInstalledDevelLib libdbus-1
|
||||
fixPkgconfig
|
||||
packageEntries devel \
|
||||
|
||||
Reference in New Issue
Block a user