[76554] trunk/dports/www/apache2

ryandesign at macports.org ryandesign at macports.org
Sun Feb 27 21:34:02 PST 2011


Revision: 76554
          http://trac.macports.org/changeset/76554
Author:   ryandesign at macports.org
Date:     2011-02-27 21:34:01 -0800 (Sun, 27 Feb 2011)
Log Message:
-----------
apache2: add perl dependency, since apxs, dbmmanage and now printenv use it; see #28564

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

Added Paths:
-----------
    trunk/dports/www/apache2/files/patch-docs-cgi-examples-printenv.diff

Modified: trunk/dports/www/apache2/Portfile
===================================================================
--- trunk/dports/www/apache2/Portfile	2011-02-28 04:25:22 UTC (rev 76553)
+++ trunk/dports/www/apache2/Portfile	2011-02-28 05:34:01 UTC (rev 76554)
@@ -5,6 +5,7 @@
 
 name             apache2
 version          2.2.17
+revision         1
 categories       www
 maintainers      nomaintainer
 description      The extremely popular second version of the Apache http server 
@@ -29,12 +30,16 @@
                  port:apr-util \
                  port:expat \
                  port:openssl \
-                 port:pcre
+                 port:pcre \
+                 port:perl5
 
 # Both apache and apache2 want to install dbmmanage.1 and other manpages.
 conflicts        apache
 
+patchfiles       patch-docs-cgi-examples-printenv.diff
+
 post-patch {
+    reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/docs/cgi-examples/printenv
     reinplace -E "s/(User|Group) daemon/\\1 www/" ${worksrcpath}/docs/conf/httpd.conf.in
 }
 

Added: trunk/dports/www/apache2/files/patch-docs-cgi-examples-printenv.diff
===================================================================
--- trunk/dports/www/apache2/files/patch-docs-cgi-examples-printenv.diff	                        (rev 0)
+++ trunk/dports/www/apache2/files/patch-docs-cgi-examples-printenv.diff	2011-02-28 05:34:01 UTC (rev 76554)
@@ -0,0 +1,8 @@
+--- docs/cgi-examples/printenv.orig	2004-12-10 23:52:29.000000000 -0600
++++ docs/cgi-examples/printenv	2011-02-27 23:12:32.000000000 -0600
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/perl
++#!@PREFIX@/bin/perl
+ ##
+ ##  printenv -- demo CGI program which just prints its environment
+ ##
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110227/d38aff4e/attachment.html>


More information about the macports-changes mailing list