Skip to content

Instantly share code, notes, and snippets.

@toddr
Last active August 6, 2020 14:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save toddr/2f66c0c6c667d73f0fefc822f407cd7d to your computer and use it in GitHub Desktop.
Save toddr/2f66c0c6c667d73f0fefc822f407cd7d to your computer and use it in GitHub Desktop.
Use Devel::PPPort to provide ppport.h
diff --git a/Makefile.PL b/Makefile.PL
index 0416c6f..09c71c9 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -2,6 +2,9 @@ use 5.006;
use strict;
use warnings;
use ExtUtils::MakeMaker;
+use Devel::PPPort ();
+
+Devel::PPPort->VERSION('3.59');
require "./inc/ExtUtils/HasCompiler.pm";
@@ -45,11 +48,13 @@ WriteMakefile(
AUTHOR => q{Todd Rinaldo <toddr@cpan.org>},
VERSION_FROM => 'lib/YAML/Syck.pm',
ABSTRACT_FROM => 'lib/YAML/Syck.pm',
+ INC => Devel::PPPort->include_dir,
LICENSE => 'MIT',
PL_FILES => {},
MIN_PERL_VERSION => '5.006',
CONFIGURE_REQUIRES => {
'ExtUtils::MakeMaker' => '0',
+ 'Devel::PPPort' => '3.59',
},
BUILD_REQUIRES => {
'Test::More' => '0',
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment