[48805] trunk/dports/print/freetype/Portfile
ryandesign at macports.org
ryandesign at macports.org
Sun Mar 29 01:52:33 PDT 2009
Revision: 48805
http://trac.macports.org/changeset/48805
Author: ryandesign at macports.org
Date: 2009-03-29 01:52:25 -0700 (Sun, 29 Mar 2009)
Log Message:
-----------
freetype: prevent installation (which would fail) if flow-tools is active; see #18232
Modified Paths:
--------------
trunk/dports/print/freetype/Portfile
Modified: trunk/dports/print/freetype/Portfile
===================================================================
--- trunk/dports/print/freetype/Portfile 2009-03-29 07:28:04 UTC (rev 48804)
+++ trunk/dports/print/freetype/Portfile 2009-03-29 08:52:25 UTC (rev 48805)
@@ -49,6 +49,13 @@
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"
+ }
+}
+
platform darwin 7 {
depends_build-append port:gmake
build.cmd ${prefix}/bin/gmake
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090329/0c44de7b/attachment.html>
More information about the macports-changes
mailing list