Revision: 72833 http://trac.macports.org/changeset/72833 Author: css@macports.org Date: 2010-10-28 04:13:09 -0700 (Thu, 28 Oct 2010) Log Message: ----------- Update the error message for a missing Java header to correctly refer to the Apple Developer Connection site as well as deep links to the correct updates. refs #26934 Modified Paths: -------------- trunk/dports/devel/cmake/Portfile Modified: trunk/dports/devel/cmake/Portfile =================================================================== --- trunk/dports/devel/cmake/Portfile 2010-10-28 06:41:48 UTC (rev 72832) +++ trunk/dports/devel/cmake/Portfile 2010-10-28 11:13:09 UTC (rev 72833) @@ -41,7 +41,8 @@ platform darwin { pre-configure { if {![file exists "/System/Library/Frameworks/JavaVM.framework/Headers/jni.h"]} { - return -code error "\n********************\n${name} requires the Java for Mac OS X Developer Package from Apple.\nPlease download and install this package from http://developer.apple.com/.\n********************" + return -code error "\n********************\n${name} requires the Java for Mac OS X Developer Package from the Apple Developer Connection at http://connect.apple.com.\nFor Mac OS X 10.6: http://adcdownload.apple.com/Java/java_for_mac_os_x_10.6_update_3_developer_package/javadeveloper_10.6_10m3261.dmg\nFor Mac OS X 10.5: +http://adcdownload.apple.com/Java/java_for_mac_os_x_10.5_update_8_developer_package/javadeveloper_10.5_9m3263.dmg\n********************" } } post-configure {