Changeset 78169


Ignore:
Timestamp:
Apr 27, 2011, 12:38:57 PM (10 years ago)
Author:
ryandesign@…
Message:

cryptlib: prevent installation if unixODBC is active; it would fail

File:
1 edited

Legend:

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

    r78167 r78169  
    3737use_configure   no
    3838
     39pre-configure {
     40        foreach {badport badfile} "unixODBC ${prefix}/include/sql.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
    3950build.target    default shared
    4051build.args              LIBDIR="${prefix}/lib" \
Note: See TracChangeset for help on using the changeset viewer.