[22391] trunk/dports/graphics/ImageMagick/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Tue Feb 27 13:59:48 PST 2007


Revision: 22391
          http://trac.macosforge.org/projects/macports/changeset/22391
Author:   blair at macports.org
Date:     2007-02-27 13:59:48 -0800 (Tue, 27 Feb 2007)

Log Message:
-----------
Add a perl variant.

When running the test suite, set DYLB_LIBRARY_PATH to the just built
libMagick.dylib, otherwise the Perl tests will pick up a currently
installed libMagick.dylib which may have missing symbols that the new
libMagick.dylib provides.

Modified Paths:
--------------
    trunk/dports/graphics/ImageMagick/Portfile

Modified: trunk/dports/graphics/ImageMagick/Portfile
===================================================================
--- trunk/dports/graphics/ImageMagick/Portfile	2007-02-27 21:26:44 UTC (rev 22390)
+++ trunk/dports/graphics/ImageMagick/Portfile	2007-02-27 21:59:48 UTC (rev 22391)
@@ -49,7 +49,14 @@
 
 test.run	yes
 test.target	check
+test.env	DYLD_LIBRARY_PATH=${worksrcpath}/magick/.libs
 
+variant perl {
+	depends_lib-append	port:perl5.8
+	configure.args-delete	--without-perl
+	configure.args-append	--with-perl=${prefix}/bin/perl
+}
+
 # Using gplghostscript instead of ghostscript as the former provides
 # libgs and the latter appears not to at this time
 variant gs {        

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070227/0b9d97ba/attachment.html


More information about the macports-changes mailing list