aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--converters/p5-JSON-XS/Makefile4
-rw-r--r--converters/p5-JSON-XS/files/patch-Makefile.PL18
2 files changed, 18 insertions, 4 deletions
diff --git a/converters/p5-JSON-XS/Makefile b/converters/p5-JSON-XS/Makefile
index 9676d97daebc..c376e2335340 100644
--- a/converters/p5-JSON-XS/Makefile
+++ b/converters/p5-JSON-XS/Makefile
@@ -20,10 +20,6 @@ RUN_DEPENDS= p5-Types-Serialiser>=0:devel/p5-Types-Serialiser \
USES= perl5
USE_PERL5= configure
-post-patch:
-# This dependency does nothing and is safe to remove
- @${REINPLACE_CMD} -e '/use Canary::Stability/d' ${WRKSRC}/Makefile.PL
-
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/JSON/XS/XS.so
diff --git a/converters/p5-JSON-XS/files/patch-Makefile.PL b/converters/p5-JSON-XS/files/patch-Makefile.PL
new file mode 100644
index 000000000000..391a1571aa20
--- /dev/null
+++ b/converters/p5-JSON-XS/files/patch-Makefile.PL
@@ -0,0 +1,18 @@
+--- Makefile.PL.orig 2016-04-25 19:04:54 UTC
++++ Makefile.PL
+@@ -1,7 +1,6 @@
+ use 5.008003;
+ use ExtUtils::MakeMaker;
+
+-use Canary::Stability JSON::XS => 1, 5.008003;
+
+ WriteMakefile(
+ dist => {
+@@ -16,6 +15,6 @@ WriteMakefile(
+ common::sense => 0,
+ Types::Serialiser => 0,
+ },
+- CONFIGURE_REQUIRES => { ExtUtils::MakeMaker => 6.52, Canary::Stability => 0 },
++ CONFIGURE_REQUIRES => { ExtUtils::MakeMaker => 6.52 },
+ );
+