move tests over and fix up load_optional_class
[p5sagit/Class-C3-Componentised.git] / Makefile.PL
index dae3913..09ff4d4 100644 (file)
@@ -10,6 +10,13 @@ requires  'Class::Inspector';
 requires  'Carp';
 requires  'Test::Exception';
 
+# we don't actually need Class::C3. MRO::Compat loads it on 5.8. On 5.10 it
+# isn't needed. However, some existing code relies on us loading Class::C3. We
+# don't want to break it just yet. Therefore we depend directly on Class::C3 as
+# well.
+
+requires  'Class::C3' => '0.20';
+
 build_requires 'FindBin';
 
 WriteAll;