[127223] trunk/dports/www/mod_jk/Portfile

cal at macports.org cal at macports.org
Thu Oct 23 12:04:33 PDT 2014


Revision: 127223
          https://trac.macports.org/changeset/127223
Author:   cal at macports.org
Date:     2014-10-23 12:04:32 -0700 (Thu, 23 Oct 2014)
Log Message:
-----------
mod_jk: remove unneeded pre-configure check for current Apache; MacPorts should take care of that. It's a user error to avoid updating the dependencies first.

Modified Paths:
--------------
    trunk/dports/www/mod_jk/Portfile

Modified: trunk/dports/www/mod_jk/Portfile
===================================================================
--- trunk/dports/www/mod_jk/Portfile	2014-10-23 19:02:54 UTC (rev 127222)
+++ trunk/dports/www/mod_jk/Portfile	2014-10-23 19:04:32 UTC (rev 127223)
@@ -35,20 +35,6 @@
 
 set apachedir       apache2
 
-pre-configure {
-    # Check to be sure the apache2 port has been updated, and
-    # warn the user if it hasn't been.
-    # In port versions prior to 2.0.52_1, apxs didn't know where libdir was.
-    # That information is needed by the jk configure script.
-    set apxs ${prefix}/${apachedir}/bin/apxs
-    if { [file executable ${apxs}] } {
-        set libdir [exec ${apxs} -q LIBDIR]
-        if { 0 == [string length ${libdir}] || ![file isdirectory ${libdir}] } {
-            error "Your apache2 installation doesn't know where its library directory is. Please update your apache2 port."
-        }
-    }
-}
-
 if {[variant_isset universal]} {
     patchfiles-append   configure_universal.patch
     post-configure {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141023/83406823/attachment.html>


More information about the macports-changes mailing list