# $NetBSD: Makefile,v 1.35 2012/10/23 17:18:55 asau Exp $
#
DISTNAME= Socket6-0.23
PKGNAME= p5-${DISTNAME}
PKGREVISION= 3
SVR4_PKGNAME= p5so6
CATEGORIES= net perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Socket6/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/Socket6/
COMMENT= Perl5 module to support getaddrinfo() and getnameinfo()
LICENSE= modified-bsd
PKG_INSTALLATION_TYPES= overwrite pkgviews
PERL5_PACKLIST= auto/Socket6/.packlist
# supports IPv6 (actually, AF-independent)
BUILD_DEFS+= IPV6_READY
USE_LANGUAGES= c
MAKE_ENV+= CCFLAGS="${CFLAGS} ${CPPFLAGS}"
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "AIX" && ${PKGSRC_COMPILER} == "xlc"
MAKE_ENV+= CC="cc_r"
.endif
cc=cc_r
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>