[Catalyst-commits] r6709 - trunk/Catalyst-Runtime

marcus at dev.catalyst.perl.org marcus at dev.catalyst.perl.org
Wed Aug 22 09:22:50 GMT 2007


Author: marcus
Date: 2007-08-22 09:22:50 +0100 (Wed, 22 Aug 2007)
New Revision: 6709

Modified:
   trunk/Catalyst-Runtime/Makefile.PL
Log:
Kill resource forks

Modified: trunk/Catalyst-Runtime/Makefile.PL
===================================================================
--- trunk/Catalyst-Runtime/Makefile.PL	2007-08-22 06:18:38 UTC (rev 6708)
+++ trunk/Catalyst-Runtime/Makefile.PL	2007-08-22 08:22:50 UTC (rev 6709)
@@ -31,6 +31,12 @@
 requires 'URI' => '1.35';
 requires 'Text::Balanced'; # core in 5.8.x but mentioned for completeness
 
+if ($^O eq 'darwin') { 
+    makemaker_args(dist => { PREOP => 'if [ "$$COPY_EXTENDED_ATTRIBUTES_DISABLE" != "true" ]; then'.
+                                      ' echo "you must set the ENV variable COPY_EXTENDED_ATTRIBUTES_DISABLE to true,"; '.
+                                      ' echo "to avoid getting resource forks in your dist."; exit 255; fi' }); 
+}
+
 if (-e 'inc/.author') {
   build_requires 'Test::Perl::Critic';
 }




More information about the Catalyst-commits mailing list