ports/graphics/mupdf/files/patch-Makerules
Thomas Zander 73663b8b51 Update to upstream version 1.13.0
Detailed maintainer log:
- Update to 1.13.0
- Install tools manually
- Changelog: https://mupdf.com/news.html

PR:		229110
Submitted by:	uzsolt@uzsolt.hu (maintainer)
2018-07-14 07:37:00 +00:00

37 lines
1.1 KiB
Text

--- Makerules.orig 2018-06-18 11:40:10 UTC
+++ Makerules
@@ -87,7 +87,7 @@ 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 :=
@@ -97,21 +97,15 @@ HAVE_GLUT := yes
SYS_GLUT_CFLAGS :=
SYS_GLUT_LIBS := -lglut -lGL
-ifeq "$(shell pkg-config --exists 'libcrypto >= 1.1.0' && 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