[97508] trunk/dports/editors/scite/Portfile

ryandesign at macports.org ryandesign at macports.org
Fri Sep 7 09:43:51 PDT 2012


Revision: 97508
          https://trac.macports.org/changeset/97508
Author:   ryandesign at macports.org
Date:     2012-09-07 09:43:51 -0700 (Fri, 07 Sep 2012)
Log Message:
-----------
scite: use conflicts_build

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

Modified: trunk/dports/editors/scite/Portfile
===================================================================
--- trunk/dports/editors/scite/Portfile	2012-09-07 16:39:21 UTC (rev 97507)
+++ trunk/dports/editors/scite/Portfile	2012-09-07 16:43:51 UTC (rev 97508)
@@ -2,6 +2,7 @@
 # $Id$
 
 PortSystem      1.0
+PortGroup       conflicts_build 1.0
 
 name            scite
 version         3.2.2
@@ -34,6 +35,9 @@
 
 patchfiles      patch-scite-makefile.diff
 
+# tidy's platform.h shadows scintilla's Platform.h on case-insensitive filesystems; see #28230
+conflicts_build tidy
+
 use_configure   no
 
 variant universal {}
@@ -52,15 +56,6 @@
 use_parallel_build  yes
 
 pre-build {
-    foreach {badport badfile} "tidy ${prefix}/include/platform.h" {
-        if {[file exists ${badfile}]} {
-            ui_error "${name} cannot be built while ${badport} is active."
-            ui_error "Please deactivate ${badport} and try again."
-            ui_error "You can reactivate ${badport} again later."
-            return -code error "${badport} is installed"
-        }
-    }
-    
     ui_debug "Building scintilla"
     set cmd "make [join ${build.args}] [portbuild::build_getjobsarg]"
     ui_debug "Assembled command: '${cmd}'"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120907/9604770a/attachment-0001.html>


More information about the macports-changes mailing list