[vlc-commits] contrib: gpg-error: avoid building if already available

Alexandre Janniaux git at videolan.org
Sat Feb 15 13:11:15 CET 2020


vlc/vlc-3.0 | branch: master | Alexandre Janniaux <ajanni at videolabs.io> | Thu Jan  9 00:27:51 2020 +0100| [e9970131c2b74c685deb18e53d4788821c8f55ae] | committer: Jean-Baptiste Kempf

contrib: gpg-error: avoid building if already available

Signed-off-by: Thomas Guillem <thomas at gllm.fr>
(cherry picked from commit 56502f53d695da67cdeebfb4a9a3c15783a3b39a)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=e9970131c2b74c685deb18e53d4788821c8f55ae
---

 contrib/src/gpg-error/rules.mak | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/contrib/src/gpg-error/rules.mak b/contrib/src/gpg-error/rules.mak
index ec8181fde9..81cd918ff2 100644
--- a/contrib/src/gpg-error/rules.mak
+++ b/contrib/src/gpg-error/rules.mak
@@ -5,6 +5,10 @@ GPGERROR_URL := ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-$(GPGERROR_
 $(TARBALLS)/libgpg-error-$(GPGERROR_VERSION).tar.bz2:
 	$(call download_pkg,$(GPGERROR_URL),gpg-error)
 
+ifeq ($(call need_pkg,"gpg-error >= 1.27"),)
+PKGS_FOUND += gpg-error
+endif
+
 .sum-gpg-error: libgpg-error-$(GPGERROR_VERSION).tar.bz2
 
 libgpg-error: libgpg-error-$(GPGERROR_VERSION).tar.bz2 .sum-gpg-error



More information about the vlc-commits mailing list