[72810] trunk/dports/devel/subversion-javahlbindings/Portfile
dluke at macports.org
dluke at macports.org
Wed Oct 27 15:12:21 PDT 2010
Revision: 72810
http://trac.macports.org/changeset/72810
Author: dluke at macports.org
Date: 2010-10-27 15:12:17 -0700 (Wed, 27 Oct 2010)
Log Message:
-----------
Check for Java Developer package and provide links if it's not there.
Modified Paths:
--------------
trunk/dports/devel/subversion-javahlbindings/Portfile
Modified: trunk/dports/devel/subversion-javahlbindings/Portfile
===================================================================
--- trunk/dports/devel/subversion-javahlbindings/Portfile 2010-10-27 20:24:41 UTC (rev 72809)
+++ trunk/dports/devel/subversion-javahlbindings/Portfile 2010-10-27 22:12:17 UTC (rev 72810)
@@ -72,6 +72,20 @@
${worksrcpath}/libtool
}
+platform darwin 10 { pre-fetch {
+ 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:\nhttp://adcdownload.apple.com/Java/java_for_mac_os_x_10.6_update_3_developer_package/javadeveloper_10.6_10m3261.dmg\n********************"
+ }
+ }
+ }
+
+platform darwin 9 { pre-fetch {
+ 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:\nhttp://adcdownload.apple.com/Java/java_for_mac_os_x_10.5_update_8_developer_package/javadeveloper_10.5_9m3263.dmg\n********************"
+ }
+ }
+ }
+
variant no_bdb description {Build without support for BerkeleyDB repositories} {
depends_lib-delete port:db46 port:py-bsddb
configure.args-delete --with-berkeley-db=:${prefix}/include/db46:${prefix}/lib/db46:db-4.6
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101027/de2db745/attachment.html>
More information about the macports-changes
mailing list