From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Sep 10 16:00:23 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 06B3C1065673 for ; Sat, 10 Sep 2011 16:00:22 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B3CE38FC0C for ; Sat, 10 Sep 2011 16:00:22 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p8AG0MwZ041789 for ; Sat, 10 Sep 2011 16:00:22 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p8AG0Mel041788; Sat, 10 Sep 2011 16:00:22 GMT (envelope-from gnats) Resent-Date: Sat, 10 Sep 2011 16:00:22 GMT Resent-Message-Id: <201109101600.p8AG0Mel041788@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Alexander Wittig Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 27542106566C for ; Sat, 10 Sep 2011 15:51:27 +0000 (UTC) (envelope-from root@wittig.name) Received: from hotzenplotz.wittig.name (unknown [IPv6:2a02:180:1:1:1c:c068:de48:0]) by mx1.freebsd.org (Postfix) with ESMTP id ACA058FC0A for ; Sat, 10 Sep 2011 15:51:26 +0000 (UTC) Received: from root by hotzenplotz.wittig.name with local (Exim 4.76 (FreeBSD)) (envelope-from ) id 1R2Pq1-000OGg-Ik for FreeBSD-gnats-submit@freebsd.org; Sat, 10 Sep 2011 17:51:25 +0200 Message-Id: Date: Sat, 10 Sep 2011 17:51:25 +0200 From: Alexander Wittig To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/160631: [graphics/pecl-imagick] Small change to honor WITHOUT_X11 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alexander Wittig List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Sep 2011 16:00:23 -0000 >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: