Gflags: include path fix (#1652)

This commit is contained in:
miqlas
2017-09-21 07:00:26 +02:00
committed by Jérôme Duval
parent 9de4889d91
commit 4672670acd

View File

@@ -6,7 +6,7 @@ which they are used."
HOMEPAGE="https://gflags.github.io/gflags/"
COPYRIGHT="2006 Google Inc."
LICENSE="BSD (3-clause)"
REVISION="1"
REVISION="2"
SOURCE_URI="https://github.com/gflags/gflags/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="ae27cdbcd6a2f935baa78e4f21f675649271634c092b1be01469440495609d0e"
@@ -39,6 +39,7 @@ BUILD_PREREQUIRES="
cmd:cmake
cmd:gcc$secondaryArchSuffix
cmd:make
cmd:sed
"
BUILD()
@@ -67,6 +68,9 @@ INSTALL()
prepareInstalledDevelLibs libgflags libgflags_nothreads
fixPkgconfig
sed -i 's,\/include,/'${relativeIncludeDir}',g' \
$libDir/cmake/gflags/gflags-config.cmake
packageEntries devel \
$developDir \
$libDir/cmake