[49050] trunk/dports/print/freetype/Portfile

ryandesign at macports.org ryandesign at macports.org
Thu Apr 2 03:14:52 PDT 2009


Revision: 49050
          http://trac.macports.org/changeset/49050
Author:   ryandesign at macports.org
Date:     2009-04-02 03:14:52 -0700 (Thu, 02 Apr 2009)
Log Message:
-----------
freetype: use -isystem instead of -I to avoid issues when flow-tools is installed; see #18232

Modified Paths:
--------------
    trunk/dports/print/freetype/Portfile

Modified: trunk/dports/print/freetype/Portfile
===================================================================
--- trunk/dports/print/freetype/Portfile	2009-04-02 10:12:55 UTC (rev 49049)
+++ trunk/dports/print/freetype/Portfile	2009-04-02 10:14:52 UTC (rev 49050)
@@ -49,12 +49,9 @@
 depends_lib \
     port:zlib
 
-pre-extract {
-    if {[file exists ${prefix}/include/ftconfig.h]} {
-        ui_error "${name} cannot be built while flow-tools is active. To build ${name}, first deactivate flow-tools, then build ${name}, then re-activate flow-tools."
-        return -code error "flow-tools is present"
-    }
-}
+# See http://trac.macports.org/ticket/18232
+configure.cppflags-delete   -I${prefix}/include
+configure.cppflags-append   -isystem${prefix}/include
 
 platform darwin 7 {
     depends_build-append    port:gmake
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090402/671eec14/attachment.html>


More information about the macports-changes mailing list