Changeset 78784


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

Location:
trunk/dports
Files:
5 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} {
  • trunk/dports/databases/db47/Portfile

    r73706 r78784  
    9292platform macosx {
    9393    pre-configure {
    94         if {![file exists "/System/Library/Frameworks/JavaVM.framework/Headers/jni.h"] && ![variant_isset no_java]} {
     94        if {![file isfile "/System/Library/Frameworks/JavaVM.framework/Headers/jni.h"] && ![variant_isset no_java]} {
    9595            ui_error "${name} requires the Java for Mac OS X development headers."
    9696            if {${os.major} == 10} {
  • trunk/dports/devel/soprano/Portfile

    r77672 r78784  
    2727
    2828pre-configure {
    29     if {![file exists "/System/Library/Frameworks/JavaVM.framework/Headers/jni.h"]} {
     29    if {![file isfile "/System/Library/Frameworks/JavaVM.framework/Headers/jni.h"]} {
    3030        ui_error "${name} requires the Java for Mac OS X development headers."
    3131        if {${os.major} == 10} {
  • 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                                        }
  • 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.