[99393] trunk/dports/irc/bitlbee/Portfile

ryandesign at macports.org ryandesign at macports.org
Sun Nov 4 04:18:04 PST 2012


Revision: 99393
          http://trac.macports.org//changeset/99393
Author:   ryandesign at macports.org
Date:     2012-11-04 04:18:04 -0800 (Sun, 04 Nov 2012)
Log Message:
-----------
bitlbee: use conflicts_build (#36037)

Modified Paths:
--------------
    trunk/dports/irc/bitlbee/Portfile

Modified: trunk/dports/irc/bitlbee/Portfile
===================================================================
--- trunk/dports/irc/bitlbee/Portfile	2012-11-04 12:16:06 UTC (rev 99392)
+++ trunk/dports/irc/bitlbee/Portfile	2012-11-04 12:18:04 UTC (rev 99393)
@@ -2,6 +2,7 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           conflicts_build 1.0
 
 name                bitlbee
 version             3.0.5
@@ -34,18 +35,8 @@
 
 destroot.target     install install-etc
 
-# see #27598
-# this block is taken from the nodejs port
-pre-configure {
-    foreach {badport badfile} "libproxy ${prefix}/include/proxy.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"
-        }
-    }
-}
+# libproxy's proxy.h shadows bitlbee's; see #27598
+conflicts_build     libproxy
 
 post-destroot {
     destroot.keepdirs ${destroot}${prefix}/var/lib/bitlbee
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121104/64302cf6/attachment.html>


More information about the macports-changes mailing list