ports/64258: ImageMagick port doesn't allow to specify Windows fonts directory

Seva Gluschenko gvs at rinet.ru
Sun Mar 14 12:20:18 UTC 2004


>Number:         64258
>Category:       ports
>Synopsis:       ImageMagick port doesn't allow to specify Windows fonts directory
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 14 04:20:18 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Seva Gluschenko
>Release:        FreeBSD 5.2.1-RELEASE i386
>Organization:
Yandex LLC
>Environment:
System: FreeBSD yeho.yandex.ru 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #2: Wed Mar 3 01:43:35 MSK 2004 gvs at yeho.yandex.ru:/local/src/sys/i386/compile/road i386


	
>Description:
	The graphics/ImageMagick port offers many tunables but misses Windows
	fonts directory optional definition. Proposed patch fixes this problem.
>How-To-Repeat:
	
>Fix:

	apply patch below in /usr/ports/graphics/ImageMagick:

--- Makefile.orig	Sun Mar 14 15:11:23 2004
+++ Makefile	Sun Mar 14 15:09:24 2004
@@ -58,6 +58,11 @@
 PLIST_SUB+=		WITH_PERL='@comment '
 .endif
 
+# Windows fonts dir
+.if defined(WITH_WINDOWS_FONTS_DIR)
+CONFIGURE_ARGS+=	--with-windows-font-dir=${WITH_WINDOWS_FONTS_DIR}
+.endif
+
 # PerlMagick not works with threads, if perl is not threaded, and vice versa
 .if defined(WITH_IMAGEMAGICK_THREADS) || \
     (!defined(WITHOUT_IMAGEMAGICK_PERL) && \

	Now you can specify that directory, e.g.:

	# make WITH_WINDOWS_FONTS_DIR=/usr/local/share/fonts/Windows
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list