[76628] trunk/dports/www
jmr at macports.org
jmr at macports.org
Wed Mar 2 21:25:20 PST 2011
Revision: 76628
http://trac.macports.org/changeset/76628
Author: jmr at macports.org
Date: 2011-03-02 21:25:16 -0800 (Wed, 02 Mar 2011)
Log Message:
-----------
mod_jk, mod_jk2: don't prevent the portfile from being opened at all when a JAVA_HOME can't be found
Modified Paths:
--------------
trunk/dports/www/mod_jk/Portfile
trunk/dports/www/mod_jk2/Portfile
Modified: trunk/dports/www/mod_jk/Portfile
===================================================================
--- trunk/dports/www/mod_jk/Portfile 2011-03-03 03:26:36 UTC (rev 76627)
+++ trunk/dports/www/mod_jk/Portfile 2011-03-03 05:25:16 UTC (rev 76628)
@@ -48,7 +48,9 @@
}
}
if { ![file isdirectory ${javahome}] } {
- error "This port needs a reasonable value for JAVA_HOME, but couldn't automatically determine one: please set the environment variable."
+ pre-fetch {
+ error "This port needs a reasonable value for JAVA_HOME, but couldn't automatically determine one: please set the environment variable."
+ }
}
variant jni description {Build jni_connect.so and enable jni_worker} {
Modified: trunk/dports/www/mod_jk2/Portfile
===================================================================
--- trunk/dports/www/mod_jk2/Portfile 2011-03-03 03:26:36 UTC (rev 76627)
+++ trunk/dports/www/mod_jk2/Portfile 2011-03-03 05:25:16 UTC (rev 76628)
@@ -47,7 +47,9 @@
}
}
if { ![file isdirectory ${javahome}] } {
- error "This port needs a reasonable value for JAVA_HOME, but couldn't automatically determine one: please set the environment variable."
+ pre-fetch {
+ error "This port needs a reasonable value for JAVA_HOME, but couldn't automatically determine one: please set the environment variable."
+ }
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110302/f505e388/attachment-0001.html>
More information about the macports-changes
mailing list