svn commit: r564968 - in head: Mk print/cups-filters
Tijl Coosemans
tijl at FreeBSD.org
Thu Feb 11 17:16:29 UTC 2021
Author: tijl
Date: Thu Feb 11 17:16:28 2021
New Revision: 564968
URL: https://svnweb.freebsd.org/changeset/ports/564968
Log:
Introduce ImageMagick default version and use it in print/cups-filters.
The different versions of ImageMagick in the ports tree all conflict with
each other and some ports can depend on either of them so it's a perfect
candidate for the default-versions framework.
PR: 252335
Submitted by: VVD <vvd at unislabs.com>
Modified:
head/Mk/bsd.default-versions.mk
head/print/cups-filters/Makefile
Modified: head/Mk/bsd.default-versions.mk
==============================================================================
--- head/Mk/bsd.default-versions.mk Thu Feb 11 17:13:59 2021 (r564967)
+++ head/Mk/bsd.default-versions.mk Thu Feb 11 17:16:28 2021 (r564968)
@@ -20,8 +20,8 @@ _INCLUDE_BSD_DEFAULT_VERSIONS_MK= yes
LOCALBASE?= /usr/local
.for lang in APACHE BDB COROSYNC EMACS FIREBIRD FORTRAN FPC GCC GHOSTSCRIPT \
- JAVA JULIA LAZARUS LIBRSVG2 LINUX LLVM LUA MYSQL PERL5 PGSQL PHP PYTHON PYTHON2 \
- PYTHON3 RUBY RUST SAMBA SSL TCLTK VARNISH
+ IMAGEMAGICK JAVA JULIA LAZARUS LIBRSVG2 LINUX LLVM LUA MYSQL PERL5 \
+ PGSQL PHP PYTHON PYTHON2 PYTHON3 RUBY RUST SAMBA SSL TCLTK VARNISH
.if defined(${lang}_DEFAULT)
ERROR+= "The variable ${lang}_DEFAULT is set and it should only be defined through DEFAULT_VERSIONS+=${lang:tl}=${${lang}_DEFAULT} in /etc/make.conf"
.endif
@@ -55,6 +55,8 @@ GCC_DEFAULT?= 10
.endif
# Possible values: 7, 8, 9, agpl
GHOSTSCRIPT_DEFAULT?= agpl
+# Possible values: 6 7
+IMAGEMAGICK_DEFAULT?= 7
# Possible values: 7, 8, 11, 12, 13, 14, 15
JAVA_DEFAULT?= 8
# Possible values: 0.6, 0.7, 1.0, 1.1
Modified: head/print/cups-filters/Makefile
==============================================================================
--- head/print/cups-filters/Makefile Thu Feb 11 17:13:59 2021 (r564967)
+++ head/print/cups-filters/Makefile Thu Feb 11 17:16:28 2021 (r564968)
@@ -61,7 +61,7 @@ BRAILLE_DESC= Braille embosser support
BRAILLE_BUILD_DEPENDS= bash:shells/bash
BRAILLE_LIB_DEPENDS= liblouis.so:devel/liblouis \
# liblouisutdml.so:devel/liblouisutdml
-BRAILLE_RUN_DEPENDS= convert:graphics/ImageMagick6 \
+BRAILLE_RUN_DEPENDS= convert:graphics/ImageMagick${IMAGEMAGICK_DEFAULT} \
pdftotext:graphics/poppler-utils \
bash:shells/bash
More information about the svn-ports-all
mailing list