Blame SOURCES/ee25ff3d13f2639b4c3a42125e79f77f921c3320.patch

d72c62
From ee25ff3d13f2639b4c3a42125e79f77f921c3320 Mon Sep 17 00:00:00 2001
d72c62
From: Luca Boccassi <bluca@debian.org>
d72c62
Date: Wed, 23 Jan 2019 10:37:37 +0000
d72c62
Subject: [PATCH] pkg-config: do not add -I to non-existing directory
d72c62
d72c62
foo/lib/pgm-5.2/include does not exist, so applications using strict
d72c62
compiler flags will fail to build due to this -I flag
d72c62
---
d72c62
 openpgm/pgm/openpgm-5.2.pc.in | 2 +-
d72c62
 1 file changed, 1 insertion(+), 1 deletion(-)
d72c62
d72c62
diff --git a/openpgm/pgm/openpgm-5.2.pc.in b/openpgm/pgm/openpgm-5.2.pc.in
d72c62
index 1e56d944..9e30a6da 100644
d72c62
--- a/openpgm/pgm/openpgm-5.2.pc.in
d72c62
+++ b/openpgm/pgm/openpgm-5.2.pc.in
d72c62
@@ -9,4 +9,4 @@ Version: @PACKAGE_VERSION@
d72c62
 # packagers may wish to move @LIBS@ to Libs.private for platforms with
d72c62
 # versions of pkg-config that support static linking.
d72c62
 Libs: -L${libdir} -lpgm @LIBS@
d72c62
-Cflags: -I${includedir}/pgm-@VERSION_MAJOR@.@VERSION_MINOR@ -I${libdir}/pgm-@VERSION_MAJOR@.@VERSION_MINOR@/include
d72c62
+Cflags: -I${includedir}/pgm-@VERSION_MAJOR@.@VERSION_MINOR@