[36546] trunk/dports/www/mod_ssi_func/Portfile
ryandesign at macports.org
ryandesign at macports.org
Tue May 6 00:40:41 PDT 2008
Revision: 36546
http://trac.macosforge.org/projects/macports/changeset/36546
Author: ryandesign at macports.org
Date: 2008-05-06 00:40:37 -0700 (Tue, 06 May 2008)
Log Message:
-----------
mod_ssi_func: fix patch failure by converting Makefiles from DOS to UNIX linefeeds before patching; #15211
Modified Paths:
--------------
trunk/dports/www/mod_ssi_func/Portfile
Modified: trunk/dports/www/mod_ssi_func/Portfile
===================================================================
--- trunk/dports/www/mod_ssi_func/Portfile 2008-05-06 05:23:54 UTC (rev 36545)
+++ trunk/dports/www/mod_ssi_func/Portfile 2008-05-06 07:40:37 UTC (rev 36546)
@@ -23,6 +23,16 @@
}
extract.dir ${worksrcpath}
+pre-patch {
+ # Convert Makefiles from DOS to UNIX linefeeds before patching
+ reinplace "s/\r$//g" \
+ ${worksrcpath}/ssi_func/Makefile \
+ ${worksrcpath}/ssi_func_flastmod/Makefile \
+ ${worksrcpath}/ssi_func_math/Makefile \
+ ${worksrcpath}/ssi_func_rnd/Makefile \
+ ${worksrcpath}/ssi_setsplitvars/Makefile
+}
+
patchfiles patch-ssi_func-Makefile \
patch-ssi_func_flastmod-Makefile \
patch-ssi_func_math-Makefile \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080506/cd7b16bb/attachment.html
More information about the macports-changes
mailing list