[96389] trunk/dports/devel/libmemcached/Portfile
ryandesign at macports.org
ryandesign at macports.org
Wed Aug 8 05:16:41 PDT 2012
Revision: 96389
https://trac.macports.org/changeset/96389
Author: ryandesign at macports.org
Date: 2012-08-08 05:16:39 -0700 (Wed, 08 Aug 2012)
Log Message:
-----------
libmemcached doesn't conflict with umem; rather, it fails to build if umem is active
Modified Paths:
--------------
trunk/dports/devel/libmemcached/Portfile
Modified: trunk/dports/devel/libmemcached/Portfile
===================================================================
--- trunk/dports/devel/libmemcached/Portfile 2012-08-08 11:44:23 UTC (rev 96388)
+++ trunk/dports/devel/libmemcached/Portfile 2012-08-08 12:16:39 UTC (rev 96389)
@@ -31,7 +31,16 @@
depends_lib port:memcached
-conflicts umem
+pre-configure {
+ foreach {badport badfile} "umem ${prefix}/include/umem.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"
+ }
+ }
+}
configure.args --disable-silent-rules \
--disable-umem \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120808/d71faf24/attachment-0001.html>
More information about the macports-changes
mailing list