pkgsrc/net/p5-NetAddr-IP/Makefile
tron 31120bae1e Update "p5-NetAddr-IP" package to version 4.069. Changes since 4.066:
- IN Lite.pm v1.50, add =encoding UTF-8
- In Util.pm v1.50
  changed Makefile.PL to check for config.h when building for XS
  with 'gcc', try building with 'cc', and check again.
- If config.h is not found, force Pure Perl mode.
- update Makefile.PL in Util.pm v 1.49 to better detect 'winduhs'
- Improved diagnostic message for "die" with bad mask for
- hostenum, hostenumref, split, splitref, rsplit, rsplitref
- Thanks to GENSYM@cpan.org for pointing out the need.

This also fixes the build with Perl 5.18.0
2013-06-01 12:48:26 +00:00

34 lines
979 B
Makefile

# $NetBSD: Makefile,v 1.32 2013/06/01 12:48:26 tron Exp $
DISTNAME= NetAddr-IP-4.069
PKGNAME= p5-${DISTNAME}
SVR4_PKGNAME= p5nai
CATEGORIES= net perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=NetAddr/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/NetAddr-IP/
COMMENT= Perl5 module for managing IP addresses
LICENSE= artistic OR gnu-gpl-v2
# This is for the 'test' target
BUILD_DEPENDS+= p5-Test-Pod-[0-9]*:../../devel/p5-Test-Pod
REPLACE_PERL+= IP.pm
REPLACE_PERL+= Lite/Lite.pm
REPLACE_PERL+= Lite/Util/Util.pm
REPLACE_PERL+= Lite/Util/lib/NetAddr/IP/UtilPP.pm
REPLACE_PERL+= Lite/Util/tlib/NetAddr/IP/Util_IS.pm
SUBST_CLASSES+= fixperl
SUBST_STAGE.fixperl= pre-configure
SUBST_MESSAGE.fixperl= Fixing perl interpreter
SUBST_FILES.fixperl+= Lite/Util/Makefile.PL
SUBST_SED.fixperl= -e 's,/usr/bin/perl,${PERL5},'
USE_LANGUAGES= c
PERL5_PACKLIST= auto/NetAddr/IP/.packlist
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"