[36612] trunk/dports/aqua/qt4-mac/Portfile

erickt at macports.org erickt at macports.org
Wed May 7 21:46:23 PDT 2008


Revision: 36612
          http://trac.macosforge.org/projects/macports/changeset/36612
Author:   erickt at macports.org
Date:     2008-05-07 21:46:22 -0700 (Wed, 07 May 2008)

Log Message:
-----------
Warn that qt4-mac cannot be built when pcre is active.

Modified Paths:
--------------
    trunk/dports/aqua/qt4-mac/Portfile

Modified: trunk/dports/aqua/qt4-mac/Portfile
===================================================================
--- trunk/dports/aqua/qt4-mac/Portfile	2008-05-07 22:16:02 UTC (rev 36611)
+++ trunk/dports/aqua/qt4-mac/Portfile	2008-05-08 04:46:22 UTC (rev 36612)
@@ -5,6 +5,7 @@
 
 name                qt4-mac
 version             4.4.0
+revision            1
 categories          aqua
 platforms           macosx
 maintainers         openmaintainer jochen
@@ -37,6 +38,12 @@
 #   (e.g. assistant.app) and the examples directory
 set bindir ${prefix}/libexec/${name}/bin
 
+pre-configure {
+    if {[file exists ${prefix}/include/pcre.h]} {
+        return -code error "port:pcre may prevent building this port. Please uninstall (or deactivate) pcre and restart the build."
+    }
+}
+
 # See
 #   http://doc.trolltech.com/qtopia4.3/buildsystem/over-configure-options-qt-1.html
 # for options

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


More information about the macports-changes mailing list