[109099] trunk/dports/www/mod_perl2

jeremyhu at macports.org jeremyhu at macports.org
Wed Aug 7 17:56:00 PDT 2013


Revision: 109099
          https://trac.macports.org/changeset/109099
Author:   jeremyhu at macports.org
Date:     2013-08-07 17:56:00 -0700 (Wed, 07 Aug 2013)
Log Message:
-----------
mod_perl2: Use gnu89 rather than silly hack

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

Removed Paths:
-------------
    trunk/dports/www/mod_perl2/files/clang-compatibility_src-modules-perl-modperl_common_util.h.patch

Modified: trunk/dports/www/mod_perl2/Portfile
===================================================================
--- trunk/dports/www/mod_perl2/Portfile	2013-08-08 00:55:30 UTC (rev 109098)
+++ trunk/dports/www/mod_perl2/Portfile	2013-08-08 00:56:00 UTC (rev 109099)
@@ -34,10 +34,6 @@
 depends_lib			path:bin/perl:perl5 port:apache2
 worksrcdir			mod_perl-${version}
 
-if {${configure.compiler} == "clang"} {
-    patchfiles-append clang-compatibility_src-modules-perl-modperl_common_util.h.patch
-}
-
 pre-configure {
     set perl5bin "${prefix}/bin/perl5"
     if {[string first "true" [exec ${perl5bin} -V:useshrplib]] == -1} {
@@ -50,6 +46,8 @@
     }
 }
 
+configure.cflags -std=gnu89
+
 configure {
 	set APXS ${prefix}/apache2/bin/apxs
 	system "cd ${workpath}/${worksrcdir} && \

Deleted: trunk/dports/www/mod_perl2/files/clang-compatibility_src-modules-perl-modperl_common_util.h.patch
===================================================================
--- trunk/dports/www/mod_perl2/files/clang-compatibility_src-modules-perl-modperl_common_util.h.patch	2013-08-08 00:55:30 UTC (rev 109098)
+++ trunk/dports/www/mod_perl2/files/clang-compatibility_src-modules-perl-modperl_common_util.h.patch	2013-08-08 00:56:00 UTC (rev 109099)
@@ -1,11 +0,0 @@
---- src/modules/perl/modperl_common_util.h.orig	2012-01-04 00:25:57.000000000 +0100
-+++ src/modules/perl/modperl_common_util.h	2012-01-04 00:26:12.000000000 +0100
-@@ -22,7 +22,7 @@
- #ifdef MP_DEBUG
- #define MP_INLINE
- #else
--#define MP_INLINE APR_INLINE
-+#define MP_INLINE
- #endif
- 
- #ifdef CYGWIN
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130807/c59d068a/attachment.html>


More information about the macports-changes mailing list