diff --git a/sys-apps/dbus/dbus-1.12.20.recipe b/sys-apps/dbus/dbus-1.12.20.recipe index 547f685d9..bd771236b 100644 --- a/sys-apps/dbus/dbus-1.12.20.recipe +++ b/sys-apps/dbus/dbus-1.12.20.recipe @@ -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 \