summaryrefslogtreecommitdiff
path: root/debian/patches/01-pkgconfig.patch
diff options
context:
space:
mode:
authorAndrew Shadura <andrewsh@debian.org>2014-03-16 15:29:25 +0100
committerAndrew Shadura <andrew@shadura.me>2015-07-25 14:44:44 +0200
commit97598f790fc8cd838e57c8a0cd1c519bc81bceaa (patch)
treea273a91ce0d6c31cac3bb94c8179afdab7c0864f /debian/patches/01-pkgconfig.patch
parente95ea4c40113360de58a71b7df0a1f8aa4e0cf21 (diff)
Imported Debian patch 0.26.0-2
Diffstat (limited to 'debian/patches/01-pkgconfig.patch')
-rw-r--r--debian/patches/01-pkgconfig.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/debian/patches/01-pkgconfig.patch b/debian/patches/01-pkgconfig.patch
new file mode 100644
index 0000000..a0624e9
--- /dev/null
+++ b/debian/patches/01-pkgconfig.patch
@@ -0,0 +1,22 @@
+--- a/mk/mkc_imp.pkg-config.mk
++++ b/mk/mkc_imp.pkg-config.mk
+@@ -42,8 +42,8 @@
+ ${PROG.pkg-config} --libs "${_lp}"
+ .endif # LDADD.pkg-config.${l}
+
+-MKC_CPPFLAGS += ${CPPFLAGS.pkg-config.${_ln}}
+-MKC_LDADD += ${LDADD.pkg-config.${_ln}}
++MKC_CPPFLAGS := ${MKC_CPPFLAGS} ${CPPFLAGS.pkg-config.${_ln}}
++MKC_LDADD := ${MKC_LDADD} ${LDADD.pkg-config.${_ln}}
+ .endif # PROGS || LIB
+
+ .for i in ${PKG_CONFIG_VARS.${_ln}}
+@@ -54,7 +54,7 @@
+ .endif # PKG_CONFIG.var.${_ln}.${i}
+ .endfor # i
+
+-MKC_CFLAGS += -DHAVE_PKCONFIG_${_id:S/-/_/g:S/+/P/g:S/./_/g}=1
++MKC_CFLAGS := ${MKC_CFLAGS} -DHAVE_PKGCONFIG_${_id:S/-/_/g:S/+/P/g:S/./_/g}=1
+
+ .elif !empty(MKC_REQUIRE_PKGCONFIG:M${l})
+ MKC_ERR_MSG := ${MKC_ERR_MSG} "%%%: ${MKC_CACHEDIR}/_mkc_pkgconfig_${_ln}.err"