Date: Sat, 10 Sep 2011 17:51:25 +0200 From: Alexander Wittig <alexander@wittig.name> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/160631: [graphics/pecl-imagick] Small change to honor WITHOUT_X11 Message-ID: <E1R2Pq1-000OGg-Ik@hotzenplotz.wittig.name> Resent-Message-ID: <201109101600.p8AG0Mel041788@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1R2Pq1-000OGg-Ik>