Ignore:
Timestamp:
Sep 8, 2012, 5:23:38 AM (8 years ago)
Author:
ryandesign@…
Message:

cryptlib: use conflicts_build

File:
1 edited

Legend:

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

    r86000 r97530  
    22
    33PortSystem              1.0
     4
     5PortGroup           conflicts_build 1.0
    46
    57name                    cryptlib
     
    4042                    patch-tools-ccopts.sh.diff
    4143
     44# Build fails when compiler is gcc or llvm-gcc; warnings are printed when compiler is clang.
     45conflicts_build     unixODBC
     46
    4247use_configure   no
    43 
    44 pre-configure {
    45         foreach {badport badfile} "unixODBC ${prefix}/include/sql.h" {
    46                 if {[file exists ${badfile}]} {
    47                         ui_error "${name} cannot be built while ${badport} is active."
    48                         ui_error "Please deactivate ${badport} and try again."
    49                         ui_error "You can reactivate ${badport} again later."
    50                         return -code error "${badport} is installed"
    51                 }
    52         }
    53 }
    5448
    5549build.target    default shared
Note: See TracChangeset for help on using the changeset viewer.