Date: Fri, 7 Nov 2008 14:54:08 -0500 From: Steven Kreuzer <skreuzer@exit2shell.com> To: lists@nrd.fr Cc: ports@freebsd.org, perl@freebsd.org Subject: Re: FreeBSD Port: p5-GD-SecurityImage-1.66,1 Message-ID: <DC4BAF40-BB0A-48BC-977A-549F700E883E@exit2shell.com> In-Reply-To: <20081107181226.5002036b.lists@nrd.fr> References: <20081107181226.5002036b.lists@nrd.fr>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DC4BAF40-BB0A-48BC-977A-549F700E883E>