ports/160631: [graphics/pecl-imagick] Small change to honor WITHOUT_X11

Alexander Wittig alexander at wittig.name
Sat Sep 10 16:00:23 UTC 2011


>Number:         160631
>Category:       ports
>Synopsis:       [graphics/pecl-imagick] Small change to honor WITHOUT_X11
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 10 16:00:22 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Alexander Wittig
>Release:        FreeBSD 8.2-STABLE amd64
>Organization:
>Environment:
System: FreeBSD hotzenplotz.wittig.name 8.2-STABLE FreeBSD 8.2-STABLE #0: Sat Aug 27 02:17:34 CEST 2011 root at hotzenplotz.wittig.name:/usr/obj/usr/src/sys/ALEX amd64


	
>Description:
	
If the user has WITHOUT_X11 set, the version of ImageMagick used to satisfy the
library dependency should probably be graphics/ImageMagick-nox11 instead of graphics/ImageMagick?
>How-To-Repeat:
	
>Fix:
Attached patch depends conditionally on either the X11 or non-X11 version of ImageMagick
	

--- patch begins here ---
--- Makefile.old	2011-09-10 17:40:44.000000000 +0200
+++ Makefile	2011-09-10 17:42:30.000000000 +0200
@@ -16,7 +16,11 @@
 MAINTAINER=	mm at FreeBSD.org
 COMMENT=	Provides a wrapper to the ImageMagick/GraphicsMagick library
 
+.ifdef(WITHOUT_X11)
+LIB_DEPENDS=	MagickWand.4:${PORTSDIR}/graphics/ImageMagick-nox11
+.else
 LIB_DEPENDS=	MagickWand.4:${PORTSDIR}/graphics/ImageMagick
+.endif
 
 LICENSE=	PHP301
 
--- patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list