pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

mupdf: Pass HAVE_LIBCRYPTO=no to avoid requiring openssl>=1.1.0



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Sun May 6 14:38:58 2018 +0200
Changeset:	fbde7c46b9499402bdd73b0a5adba3eec167353a

Modified Files:
	mupdf/COMMIT_MSG
	mupdf/Makefile

Log Message:
mupdf: Pass HAVE_LIBCRYPTO=no to avoid requiring openssl>=1.1.0

Inject HAVE_LIBCRYPTO=no via MAKE_ENV. Also document that in the `pkgsrc
changes' of the COMMIT_MSG.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=fbde7c46b9499402bdd73b0a5adba3eec167353a

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 mupdf/COMMIT_MSG | 1 +
 mupdf/Makefile   | 1 +
 2 files changed, 2 insertions(+)

diffs:
diff --git a/mupdf/COMMIT_MSG b/mupdf/COMMIT_MSG
index 747de8acbb..32d8cc979e 100644
--- a/mupdf/COMMIT_MSG
+++ b/mupdf/COMMIT_MSG
@@ -6,6 +6,7 @@ pkgsrc changes:
  - Get rid of OPJ_STATIC patch hunk in patches/patch-source_fitz_load-jpx.c (it
    is no more needed, because the `-DOPJ_STATIC' is now passed in Makefile-s
    when the bundled openjpeg is used).
+ - Pass HAVE_LIBCRYPTO=no to avoid requiring openssl>=1.1.0.
 
 Changes:
 1.13.0
diff --git a/mupdf/Makefile b/mupdf/Makefile
index 6e0992685d..837ff6122d 100644
--- a/mupdf/Makefile
+++ b/mupdf/Makefile
@@ -21,6 +21,7 @@ LDFLAGS+=		${COMPILER_RPATH_FLAG}${X11BASE}/lib
 MAKE_FLAGS+=		LDFLAGS=${LDFLAGS:Q}
 MAKE_FLAGS+=		XCFLAGS=${CFLAGS:Q}
 MAKE_FLAGS+=		build=release
+MAKE_ENV+=		HAVE_LIBCRYPTO=no	# Needs openssl-1.1.0
 
 CFLAGS+=	-DJBIG_NO_MEMENTO
 CFLAGS.SunOS+=	-D_XOPEN_SOURCE=600


Home | Main Index | Thread Index | Old Index