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

Alexandre Janniaux git at videolan.org
Wed Jan 22 10:08:37 CET 2020


vlc | branch: master | Alexandre Janniaux <ajanni at videolabs.io> | Thu Jan  9 00:27:51 2020 +0100| [56502f53d695da67cdeebfb4a9a3c15783a3b39a] | committer: Thomas Guillem

contrib: gpg-error: avoid building if already available

Signed-off-by: Thomas Guillem <thomas at gllm.fr>

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

 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 ea953f6e48..badf00cf57 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