diff options
author | Tobias Kortkamp <tobik@FreeBSD.org> | 2017-05-02 12:22:21 +0000 |
---|---|---|
committer | Tobias Kortkamp <tobik@FreeBSD.org> | 2017-05-02 12:22:21 +0000 |
commit | fb788017cd8925a764a0a085f3bc0ef0d455e390 (patch) | |
tree | 0b0dbccf2d6bbac14a450789e20337f9cd5bfbf6 /graphics/mupdf/files/patch-Makerules | |
parent | 6aef1b11948736eacf2c8176bf822fa0a94e95f5 (diff) | |
download | ports-fb788017cd8925a764a0a085f3bc0ef0d455e390.tar.gz ports-fb788017cd8925a764a0a085f3bc0ef0d455e390.zip |
Notes
Diffstat (limited to 'graphics/mupdf/files/patch-Makerules')
-rw-r--r-- | graphics/mupdf/files/patch-Makerules | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/graphics/mupdf/files/patch-Makerules b/graphics/mupdf/files/patch-Makerules new file mode 100644 index 000000000000..20c19a715df9 --- /dev/null +++ b/graphics/mupdf/files/patch-Makerules @@ -0,0 +1,35 @@ +--- Makerules.orig 2017-04-05 11:02:21 UTC ++++ Makerules +@@ -110,27 +110,21 @@ LD := xcrun ld + RANLIB_CMD := xcrun ranlib $@ + + # Linux uses pkg-config for system libraries. +-else ifeq "$(OS)" "Linux" ++else ifeq "$(OS)" "FreeBSD" + + HAVE_PTHREAD := yes + SYS_PTHREAD_CFLAGS := + SYS_PTHREAD_LIBS := -lpthread + +-ifeq "$(shell pkg-config --exists 'libcrypto <= 1.0.1t' && echo yes)" "yes" +-HAVE_LIBCRYPTO := yes +-SYS_LIBCRYPTO_CFLAGS := -DHAVE_LIBCRYPTO $(shell pkg-config --cflags libcrypto) +-SYS_LIBCRYPTO_LIBS := $(shell pkg-config --libs libcrypto) +-endif ++HAVE_LIBCRYPTO := no ++SYS_LIBCRYPTO_CFLAGS := ++SYS_LIBCRYPTO_LIBS := + + ifeq "$(shell pkg-config --exists libcurl && echo yes)" "yes" + HAVE_CURL := yes + SYS_CURL_CFLAGS := $(shell pkg-config --cflags libcurl) + SYS_CURL_LIBS := $(shell pkg-config --libs libcurl) +-ifeq "$(shell pkg-config --exists openssl && echo yes)" "yes" +-HAVE_OPENSSL_SSL := yes +-SYS_CURL_CFLAGS += $(shell pkg-config --cflags openssl) +-SYS_CURL_DEPS += $(shell pkg-config --libs openssl) +-endif ++HAVE_OPENSSL_SSL := no + endif + SYS_CURL_DEPS += -lpthread -lrt + |