diff options
author | Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de> | 2017-09-15 10:03:44 +0200 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de> | 2017-09-15 10:03:44 +0200 |
commit | 7eceaa9603980ab7ec2bdc7e24f2af07899b9039 (patch) | |
tree | 2d2ecc281c8f7441233138895889f0a933558c27 /patches | |
parent | 4e4bf7b83972a857a29852505d032f970ec51792 (diff) | |
download | midipix_build-7eceaa9603980ab7ec2bdc7e24f2af07899b9039.tar.bz2 midipix_build-7eceaa9603980ab7ec2bdc7e24f2af07899b9039.tar.xz |
vars/build.vars: pass ${PKG_CONFIG} when building whois v5.2.18.
patches/whois-5.2.18.local.patch: use ${PKG_CONFIG} instead of pkg-config.
Diffstat (limited to 'patches')
-rw-r--r-- | patches/whois-5.2.18.local.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/patches/whois-5.2.18.local.patch b/patches/whois-5.2.18.local.patch new file mode 100644 index 00000000..7a6b8996 --- /dev/null +++ b/patches/whois-5.2.18.local.patch @@ -0,0 +1,21 @@ +--- whois-5.2.18/Makefile.orig 2017-08-22 18:48:50.000000000 +0200 ++++ whois-5.2.18/Makefile 2017-09-15 10:02:37.915199229 +0200 +@@ -32,12 +32,12 @@ + DEFS += -DLOCALEDIR=\"$(BASEDIR)$(prefix)/share/locale\" + endif + +-ifeq ($(shell pkg-config --exists 'libidn2 >= 2.0.3' || echo NO),) +-whois_LDADD += $(shell pkg-config --libs libidn2) +-DEFS += -DHAVE_LIBIDN2 $(shell pkg-config --cflags libidn2) +-else ifeq ($(shell pkg-config --exists 'libidn' || echo NO),) +-whois_LDADD += $(shell pkg-config --libs libidn) +-DEFS += -DHAVE_LIBIDN $(shell pkg-config --cflags libidn) ++ifeq ($(shell ${PKG_CONFIG} --exists 'libidn2 >= 2.0.3' || echo NO),) ++whois_LDADD += $(shell ${PKG_CONFIG} --libs libidn2) ++DEFS += -DHAVE_LIBIDN2 $(shell ${PKG_CONFIG} --cflags libidn2) ++else ifeq ($(shell ${PKG_CONFIG} --exists 'libidn' || echo NO),) ++whois_LDADD += $(shell ${PKG_CONFIG} --libs libidn) ++DEFS += -DHAVE_LIBIDN $(shell ${PKG_CONFIG} --cflags libidn) + endif + + ifdef HAVE_ICONV |