[20965] trunk/dports/www/mod_fcgid

source_changes at macosforge.org source_changes at macosforge.org
Thu Dec 14 00:16:35 PST 2006


Revision: 20965
          http://trac.macosforge.org/projects/macports/changeset/20965
Author:   markd at macports.org
Date:     2006-12-14 00:16:34 -0800 (Thu, 14 Dec 2006)

Log Message:
-----------
Remove unneeded patch and apply reinplace to fix hardcoded path.

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

Removed Paths:
-------------
    trunk/dports/www/mod_fcgid/files/patch-Makefile

Modified: trunk/dports/www/mod_fcgid/Portfile
===================================================================
--- trunk/dports/www/mod_fcgid/Portfile	2006-12-14 04:33:08 UTC (rev 20964)
+++ trunk/dports/www/mod_fcgid/Portfile	2006-12-14 08:16:34 UTC (rev 20965)
@@ -17,12 +17,17 @@
 
 distname			${name}.${version}
 checksums			sha1 386f1c6f44bbbdd599392ae2fbf0170a8f8d5e80
-patchfiles			patch-fcgid_conf.c patch-Makefile
+patchfiles			patch-fcgid_conf.c
 
 depends_lib			port:apache2
 
 use_configure		no
 
+post-patch {
+	reinplace "s|/usr/local/apache2|${prefix}/apache2|g" \
+		${worksrcpath}/Makefile
+}
+
 post-destroot {
 	xinstall -m 755 -d ${destroot}${prefix}/apache2/modules \
 		${destroot}${prefix}/share/doc/${name}

Deleted: trunk/dports/www/mod_fcgid/files/patch-Makefile
===================================================================
--- trunk/dports/www/mod_fcgid/files/patch-Makefile	2006-12-14 04:33:08 UTC (rev 20964)
+++ trunk/dports/www/mod_fcgid/files/patch-Makefile	2006-12-14 08:16:34 UTC (rev 20965)
@@ -1,11 +0,0 @@
---- work/mod_fcgid.1.07/Makefile	2005-11-15 03:54:08.000000000 +0100
-+++ Makefile	2005-11-24 21:07:36.000000000 +0100
-@@ -4,7 +4,7 @@
- 
- builddir     = .
- 
--top_dir      = /usr/local/apache2
-+top_dir      = ${prefix}/apache2
- 
- top_srcdir   = ${top_dir}
- top_builddir = ${top_dir}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20061214/b3e7b452/attachment.html


More information about the macports-changes mailing list