diff --git a/daemon/contrib/src/pcre/rules.mak b/daemon/contrib/src/pcre/rules.mak index 1cfd5d6f0fe13812230798bd78bc621616aa25a0..d30cee780d4871c4c034f8160a9729029856996e 100644 --- a/daemon/contrib/src/pcre/rules.mak +++ b/daemon/contrib/src/pcre/rules.mak @@ -4,9 +4,13 @@ PCRE_VERSION := 8.35 PCRE_URL := ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-$(PCRE_VERSION).tar.bz2 PKGS += pcre + +# OS X ships with improperly packaged libpcre, so we can't rely on pkg-config +ifndef HAVE_MACOSX ifeq ($(call need_pkg,"libpcre"),) PKGS_FOUND += pcre endif +endif $(TARBALLS)/pcre-$(PCRE_VERSION).tar.bz2: $(call download,$(PCRE_URL))