From 4672670acd00c2f6ad7b624303a0364bea977cba Mon Sep 17 00:00:00 2001 From: miqlas Date: Thu, 21 Sep 2017 07:00:26 +0200 Subject: [PATCH] Gflags: include path fix (#1652) --- dev-cpp/gflags/gflags-2.2.1.recipe | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dev-cpp/gflags/gflags-2.2.1.recipe b/dev-cpp/gflags/gflags-2.2.1.recipe index 7899c7a01..99ec0f42c 100644 --- a/dev-cpp/gflags/gflags-2.2.1.recipe +++ b/dev-cpp/gflags/gflags-2.2.1.recipe @@ -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