[73674] trunk/dports/editors/bluefish/Portfile

ryandesign at macports.org ryandesign at macports.org
Sat Nov 20 22:10:54 PST 2010


Revision: 73674
          http://trac.macports.org/changeset/73674
Author:   ryandesign at macports.org
Date:     2010-11-20 22:10:51 -0800 (Sat, 20 Nov 2010)
Log Message:
-----------
bluefish: don't call pkg-config until we can be sure pkgconfig and the package we're checking (gucharmap) have been installed (wait until pre-configure); see #27394

Modified Paths:
--------------
    trunk/dports/editors/bluefish/Portfile

Modified: trunk/dports/editors/bluefish/Portfile
===================================================================
--- trunk/dports/editors/bluefish/Portfile	2010-11-21 05:45:48 UTC (rev 73673)
+++ trunk/dports/editors/bluefish/Portfile	2010-11-21 06:10:51 UTC (rev 73674)
@@ -41,8 +41,10 @@
                         --without-freedesktop_org-menu \
                         --without-freedesktop_org-mime
 
-configure.env-append    CHARMAP_PLUGIN_CFLAGS="[exec ${prefix}/bin/pkg-config --cflags gucharmap-2]" \
-                        CHARMAP_PLUGIN_LIBS="[exec ${prefix}/bin/pkg-config --libs gucharmap-2]"
+pre-configure {
+    configure.env-append    CHARMAP_PLUGIN_CFLAGS="[exec ${prefix}/bin/pkg-config --cflags gucharmap-2]" \
+                            CHARMAP_PLUGIN_LIBS="[exec ${prefix}/bin/pkg-config --libs gucharmap-2]"
+}
 
 destroot.destdir        DESTDIR=${destroot}
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101120/110d3b14/attachment.html>


More information about the macports-changes mailing list