[97510] trunk/dports/devel/libmemcached/Portfile
ryandesign at macports.org
ryandesign at macports.org
Fri Sep 7 09:58:36 PDT 2012
Revision: 97510
https://trac.macports.org/changeset/97510
Author: ryandesign at macports.org
Date: 2012-09-07 09:58:35 -0700 (Fri, 07 Sep 2012)
Log Message:
-----------
libmemcached: use conflicts_build
Modified Paths:
--------------
trunk/dports/devel/libmemcached/Portfile
Modified: trunk/dports/devel/libmemcached/Portfile
===================================================================
--- trunk/dports/devel/libmemcached/Portfile 2012-09-07 16:45:47 UTC (rev 97509)
+++ trunk/dports/devel/libmemcached/Portfile 2012-09-07 16:58:35 UTC (rev 97510)
@@ -2,6 +2,7 @@
# $Id$
PortSystem 1.0
+PortGroup conflicts_build 1.0
name libmemcached
version 1.0.10
@@ -31,16 +32,10 @@
depends_lib port:memcached
-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"
- }
- }
-}
+# Although "./configure --help" says umem support is off by default, and although we
+# specify "--disable-umem", configure nevertheless looks for and finds umem if installed,
+# and then fails to build.
+conflicts_build umem
configure.args --disable-silent-rules \
--disable-umem \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120907/416d6d45/attachment.html>
More information about the macports-changes
mailing list