Changeset 97510 for trunk/dports


Ignore:
Timestamp:
Sep 7, 2012, 4:58:35 PM (7 years ago)
Author:
ryandesign@…
Message:

libmemcached: use conflicts_build

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/libmemcached/Portfile

    r97038 r97510  
    33
    44PortSystem          1.0
     5PortGroup           conflicts_build 1.0
    56
    67name                libmemcached
     
    3233depends_lib         port:memcached
    3334
    34 pre-configure {
    35     foreach {badport badfile} "umem ${prefix}/include/umem.h" {
    36         if {[file exists ${badfile}]} {
    37             ui_error "${name} cannot be built while ${badport} is active."
    38             ui_error "Please deactivate ${badport} and try again."
    39             ui_error "You can reactivate ${badport} again later."
    40             return -code error "${badport} is installed"
    41         }
    42     }
    43 }
     35# Although "./configure --help" says umem support is off by default, and although we
     36# specify "--disable-umem", configure nevertheless looks for and finds umem if installed,
     37# and then fails to build.
     38conflicts_build     umem
    4439
    4540configure.args      --disable-silent-rules \
Note: See TracChangeset for help on using the changeset viewer.