Commented out Devel::Checklib since this is most likely for CPAN anyway

There were portability issues on FreeBSD when Devel::Checklib was in use, but
this can be added back in for a CPAN version of the perl FKO module.
This commit is contained in:
Michael Rash 2012-12-09 10:28:50 -05:00
parent a673406ebd
commit 8078b0ec1f
2 changed files with 10 additions and 5 deletions

View File

@ -1,5 +1,5 @@
use lib 'inc';
use Devel::CheckLib;
#use Devel::CheckLib; ### maybe use for CPAN distribution?
use 5.008008;
use ExtUtils::MakeMaker;
@ -19,10 +19,11 @@ my @libdirs = qw(
../../lib/.libs
);
check_lib_or_exit(
lib => [qw( fko )],
libpath => \@libdirs
);
### uncomment for CPAN distribution?
#check_lib_or_exit(
# lib => [qw( fko )],
# libpath => \@libdirs
#);
WriteMakefile(
NAME => 'FKO',

View File

@ -25,6 +25,10 @@ This module requires these other modules and libraries:
The Firewall Knock Operator library, "libfko".
For a CPAN version of this module it may be advantageous to uncomment the
Devel::Checklib lines in Makefile.PL, but this seems to introduce portability
issues on FreeBSD.
COPYRIGHT AND LICENCE
Copyright (C) 2009 by Damien S. Stuart <dstuart@dstuart.org>