Changeset 83543


Ignore:
Timestamp:
Sep 5, 2011, 11:39:05 AM (8 years ago)
Author:
cal@…
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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/irc/bitlbee/Portfile

    r83542 r83543  
    3535destroot.target     install install-etc
    3636
     37# see #27598
     38# this block is taken from the nodejs port
     39pre-configure {
     40    foreach {badport badfile} "libproxy ${prefix}/include/proxy.h" {
     41        if {[file exists ${badfile}]} {
     42            ui_error "${name} cannot be built while ${badport} is active."
     43            ui_error "Please deactivate ${badport} and try again."
     44            ui_error "You can reactivate ${badport} again later."
     45            return -code error "${badport} is installed"
     46        }
     47    }
     48}
     49
    3750post-destroot {
    3851    destroot.keepdirs ${destroot}${prefix}/var/lib/bitlbee
Note: See TracChangeset for help on using the changeset viewer.