Ignore:
Timestamp:
May 22, 2011, 12:10:41 AM (9 years ago)
Author:
ryandesign@…
Message:

Check that jni.h is actually a file; some users report it being a directory; see #20849 and #29115

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/databases/db46/Portfile

    r76793 r78784  
    9494platform macosx {
    9595    pre-configure {
    96         if {![file exists "/System/Library/Frameworks/JavaVM.framework/Headers/jni.h"] && ![variant_isset no_java]} {
     96        if {![file isfile "/System/Library/Frameworks/JavaVM.framework/Headers/jni.h"] && ![variant_isset no_java]} {
    9797            ui_error "${name} requires the Java for Mac OS X development headers."
    9898            if {${os.major} == 10} {
Note: See TracChangeset for help on using the changeset viewer.