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/devel/subversion-javahlbindings/Portfile

    r76647 r78784  
    7272
    7373platform darwin  10     {       pre-fetch {
    74                                         if {![file exists "/System/Library/Frameworks/JavaVM.framework/Headers/jni.h"]} {
     74                                        if {![file isfile "/System/Library/Frameworks/JavaVM.framework/Headers/jni.h"]} {
    7575                                                return -code error "\n********************\n${name} requires the Java for Mac OS X Developer Package from Apple.\nPlease download and install this package:\nhttps://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/wa/getSoftware?bundleID=20719\n********************"
    7676                                        }
     
    7979
    8080platform darwin 9       {       pre-fetch {
    81                                         if {![file exists "/System/Library/Frameworks/JavaVM.framework/Headers/jni.h"]} {
     81                                        if {![file isfile "/System/Library/Frameworks/JavaVM.framework/Headers/jni.h"]} {
    8282                                                return -code error "\n********************\n${name} requires the Java for Mac OS X Developer Package from Apple.\nPlease download and install this package:\nhttps://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/wa/getSoftware?bundleID=20720\n********************"
    8383                                        }
Note: See TracChangeset for help on using the changeset viewer.