From sunpoet@sunpoet.net  Fri Jan 21 15:38:02 2011
Return-Path: <sunpoet@sunpoet.net>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 984851065673
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 21 Jan 2011 15:38:02 +0000 (UTC)
	(envelope-from sunpoet@sunpoet.net)
Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54])
	by mx1.freebsd.org (Postfix) with ESMTP id 45A1C8FC14
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 21 Jan 2011 15:38:01 +0000 (UTC)
Received: by vws9 with SMTP id 9so731434vws.13
        for <multiple recipients>; Fri, 21 Jan 2011 07:38:01 -0800 (PST)
Received: by 10.220.46.131 with SMTP id j3mr228575vcf.27.1295624279712;
        Fri, 21 Jan 2011 07:37:59 -0800 (PST)
Received: from sunpoet.net (sunpoet.net [220.133.12.240])
        by mx.google.com with ESMTPS id n13sm3237750vcr.41.2011.01.21.07.37.57
        (version=TLSv1/SSLv3 cipher=RC4-MD5);
        Fri, 21 Jan 2011 07:37:58 -0800 (PST)
Received: by sunpoet.net (Postfix, from userid 1000)
	id 6CA642AEC5E2; Fri, 21 Jan 2011 23:37:56 +0800 (CST)
Message-Id: <20110121153756.6CA642AEC5E2@sunpoet.net>
Date: Fri, 21 Jan 2011 23:37:56 +0800 (CST)
From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
Sender: Sunpoet Hsieh <sunpoet@sunpoet.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc: mm@FreeBSD.org
Subject: [PATCH] graphics/ImageMagick: clean up Makefile
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         154196
>Category:       ports
>Synopsis:       [PATCH] graphics/ImageMagick: clean up Makefile
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    mm
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 21 15:40:09 UTC 2011
>Closed-Date:    Fri Feb 25 14:06:36 UTC 2011
>Last-Modified:  Fri Feb 25 14:06:36 UTC 2011
>Originator:     Sunpoet Po-Chuan Hsieh
>Release:        FreeBSD 8.2-PRERELEASE amd64
>Organization:
The FreeBSD Project
>Environment:
System: FreeBSD bonjour.sunpoet.net 8.2-PRERELEASE FreeBSD 8.2-PRERELEASE #0: Tue Dec 28 19:05:46 CST 2010
>Description:
- Clean up Makefile
- Use SH

Feature safe:	yes

Port maintainer (mm@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- ImageMagick-6.6.6.10.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/graphics/ImageMagick/Makefile,v
retrieving revision 1.317
diff -u -u -r1.317 Makefile
--- Makefile	10 Jan 2011 09:08:07 -0000	1.317
+++ Makefile	21 Jan 2011 15:32:53 -0000
@@ -15,8 +15,6 @@
 MAINTAINER=	mm@FreeBSD.org
 COMMENT=	Image processing tools
 
-WRKSRC=		${WRKDIR}/${PORTNAME}-${DISTVERSION}
-
 USE_XZ=		yes
 USE_PERL5=	yes
 USE_GNOME=	gnomehack gnometarget pkgconfig
@@ -38,7 +36,7 @@
 CPPFLAGS=	-I${LOCALBASE}/include
 LDFLAGS=	-L${LOCALBASE}/lib
 
-PLIST_SUB+=	PORTVERSION=${PORTVERSION:R}
+PLIST_SUB=	PORTVERSION=${PORTVERSION:R}
 
 OPTIONS=\
 	IMAGEMAGICK_16BIT_PIXEL	"16bit pixel support" on \
@@ -84,7 +82,7 @@
 .if defined(WITH_THREADS)
 _IMAGEMAGICK_THREADS=yes
 _IMAGEMAGICK_THREADS_MSG=with threads
-PERL_THREADED!=	/bin/sh -c 'case `perl --version` in *freebsd-thread*) echo yes ;; esac'
+PERL_THREADED!=	${SH} -c 'case `perl --version` in *freebsd-thread*) ${ECHO_CMD} yes ;; esac'
 .else
 _IMAGEMAGICK_THREADS=no
 _IMAGEMAGICK_THREADS_MSG=without threads
@@ -309,27 +307,19 @@
 PLIST_SUB+=		WMF="@comment "
 .endif
 
-# SVG (Scalable Vector Graphics) images and MSL (Magick Scripting Language)
-# both require XML
-.if defined(WITH_IMAGEMAGICK_SVG) || !defined(WITHOUT_IMAGEMAGICK_MSL)
-USE_GNOME+=		libxml2
-CONFIGURE_ARGS+=	--with-xml
-.else
-CONFIGURE_ARGS+=	--without-xml
-.endif
-
-# SVG (Scalable Vector Graphics) requires X11
+# SVG (Scalable Vector Graphics) requires both libxml2 and X11
 .if defined(WITH_IMAGEMAGICK_SVG)
 . if defined(WITHOUT_X11)
 IGNORE=			svg support requires X11
 . else
+USE_GNOME+=		libxml2
 LIB_DEPENDS+=		rsvg-2:${PORTSDIR}/graphics/librsvg2
-CONFIGURE_ARGS+=	--with-rsvg
+CONFIGURE_ARGS+=	--with-rsvg --with-xml
 CONFIGURE_ENV+=		RSVG_CFLAGS="-I${LOCALBASE}/include/librsvg-2" \
 			RSVG_LIBS="-L${LOCALBASE}/lib"
 . endif
 .else
-CONFIGURE_ARGS+=	--without-rsvg
+CONFIGURE_ARGS+=	--without-rsvg --without-xml
 .endif
 
 # PDF (Adobe Portable Document Format) support
@@ -358,10 +348,6 @@
 INSTALL_TARGET=	install install-data-html
 .endif
 
-#.if ${OSVERSION} >= 800000
-#WITHOUT_IMAGEMAGICK_TESTS=yes
-#.endif
-
 .if ${ARCH} == sparc64
 WITHOUT_IMAGEMAGICK_TESTS=yes
 .endif
@@ -435,11 +421,8 @@
 .	endfor
 .endif
 
-.if defined(WITH_IMAGEMAGICK_TESTS) && !defined(WITHOUT_IMAGEMAGICK_TESTS)
-# jpeg-7 fails in ValidateImageFormatsOnDisk
-.if defined(WITH_IMAGEMAGICK_TEST_JPEG7)
+.if !defined(WITHOUT_IMAGEMAGICK_TESTS)
 post-build:	test
 .endif
-.endif
 
 .include <bsd.port.post.mk>
--- ImageMagick-6.6.6.10.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->mm 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Fri Jan 21 15:40:16 UTC 2011 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=154196 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/154196: commit references a PR
Date: Fri, 21 Jan 2011 23:51:18 +0000 (UTC)

 mm          2011-01-21 23:51:11 UTC
 
   FreeBSD ports repository
 
   Modified files:
     graphics/ImageMagick Makefile 
   Log:
   - Clean up Makefile
   - Use SH
   
   PR:             ports/154196
   Submitted by:   sunpoet@FreeBSD.org
   Feature safe:   yes
   
   Revision  Changes    Path
   1.318     +7 -24     ports/graphics/ImageMagick/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: mm 
State-Changed-When: Fri Feb 25 14:06:36 UTC 2011 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=154196 
>Unformatted:
