From owner-freebsd-perl@FreeBSD.ORG Fri Nov 7 20:21:16 2008 Return-Path: Delivered-To: perl@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7BA8B1065677 for ; Fri, 7 Nov 2008 20:21:16 +0000 (UTC) (envelope-from steven@hudson-trading.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.27]) by mx1.freebsd.org (Postfix) with ESMTP id 3752E8FC08 for ; Fri, 7 Nov 2008 20:21:16 +0000 (UTC) (envelope-from steven@hudson-trading.com) Received: by qw-out-2122.google.com with SMTP id 9so887719qwb.7 for ; Fri, 07 Nov 2008 12:21:15 -0800 (PST) Received: by 10.214.46.12 with SMTP id t12mr4628734qat.316.1226087651521; Fri, 07 Nov 2008 11:54:11 -0800 (PST) Received: from ?10.2.200.223? ([209.249.190.254]) by mx.google.com with ESMTPS id 5sm4174389ywl.4.2008.11.07.11.54.10 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 07 Nov 2008 11:54:10 -0800 (PST) Message-Id: From: Steven Kreuzer To: lists@nrd.fr In-Reply-To: <20081107181226.5002036b.lists@nrd.fr> Content-Type: multipart/mixed; boundary=Apple-Mail-12325-819829529 Mime-Version: 1.0 (Apple Message framework v929.2) Date: Fri, 7 Nov 2008 14:54:08 -0500 References: <20081107181226.5002036b.lists@nrd.fr> X-Mailer: Apple Mail (2.929.2) Sender: Steven Kreuzer Cc: ports@freebsd.org, perl@freebsd.org Subject: Re: FreeBSD Port: p5-GD-SecurityImage-1.66,1 X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Nov 2008 20:21:16 -0000 --Apple-Mail-12325-819829529 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit On Nov 7, 2008, at 12:12 PM, Benat Dagorret wrote: > > Hello, > > I'm writing a webapp that uses the Catalyst::Plugin::Captcha module, > which depends on GD::SecurityImage. > > As far as I understand the GD::SecurityImage documentation, using the > ImageMagick backend is optional : the module needs to be loaded only > if > GD::SecurityImage is "required" by other modules. > > So, my question is whether it would be possible to include an option > in > the GD::SecurityImage Makefile to allow the user build the port > without > ImageMagick. Or am I missing a way to do that with the current port ? > (I use FreeBSD RELEASE 7.0). > > Thanks for the great work to the FreeBSD developers and maintainers. > > Regards. > > -- > Benat Dagorret > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org > " Try out the attached patch and let me know how it works for you Steven Kreuzer http://www.exit2shell.com/~skreuzer --Apple-Mail-12325-819829529 Content-Disposition: attachment; filename=p5-GD-SecurityImage.patch Content-Type: application/octet-stream; x-unix-mode=0644; name="p5-GD-SecurityImage.patch" Content-Transfer-Encoding: 7bit Index: Makefile =================================================================== RCS file: /usr/share/cvs/freebsd/ports/security/p5-GD-SecurityImage/Makefile,v retrieving revision 1.14 diff -u -r1.14 Makefile --- Makefile 12 Jun 2008 14:39:51 -0000 1.14 +++ Makefile 7 Nov 2008 19:52:43 -0000 @@ -16,7 +16,11 @@ COMMENT= Perl5 module for creating CAPTCHA security images BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/GD.pm:${PORTSDIR}/graphics/p5-GD \ - ${SITE_PERL}/${PERL_ARCH}/Image/Magick.pm:${PORTSDIR}/graphics/ImageMagick + +.if defined(WITH_IMAGEMAGICK) +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Image/Magick.pm:${PORTSDIR}/graphics/ImageMagick +.endif + RUN_DEPENDS= ${BUILD_DEPENDS} PERL_CONFIGURE= yes --Apple-Mail-12325-819829529 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit --Apple-Mail-12325-819829529--