Changeset 78784 for trunk/dports/java


Ignore:
Timestamp:
May 22, 2011, 12:10:41 AM (8 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/java/commons-daemon/Portfile

    r72899 r78784  
    3333platform macosx {
    3434    pre-configure {
    35         if {![file exists "/System/Library/Frameworks/JavaVM.framework/Headers/jni.h"]} {
     35        if {![file isfile "/System/Library/Frameworks/JavaVM.framework/Headers/jni.h"]} {
    3636            ui_error "${name} requires the Java for Mac OS X development headers."
    3737            if {${os.major} == 10} {
Note: See TracChangeset for help on using the changeset viewer.