[83543] trunk/dports/irc/bitlbee/Portfile
cal at macports.org
cal at macports.org
Mon Sep 5 04:39:05 PDT 2011
Revision: 83543
http://trac.macports.org/changeset/83543
Author: cal at macports.org
Date: 2011-09-05 04:39:05 -0700 (Mon, 05 Sep 2011)
Log Message:
-----------
bitlbee: Warn when libproxy is active (maintainer timeout)
Building with libproxy installed will fail because bitlbee's proxy.h will
be shadowed by libproxy's. Closes #27598.
Modified Paths:
--------------
trunk/dports/irc/bitlbee/Portfile
Modified: trunk/dports/irc/bitlbee/Portfile
===================================================================
--- trunk/dports/irc/bitlbee/Portfile 2011-09-05 11:34:26 UTC (rev 83542)
+++ trunk/dports/irc/bitlbee/Portfile 2011-09-05 11:39:05 UTC (rev 83543)
@@ -34,6 +34,19 @@
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"
+ }
+ }
+}
+
post-destroot {
destroot.keepdirs ${destroot}${prefix}/var/lib/bitlbee
set etcdir ${destroot}${prefix}/etc/bitlbee
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110905/943e1d5f/attachment.html>
More information about the macports-changes
mailing list