29 lines
723 B
Makefile
29 lines
723 B
Makefile
# $NetBSD: Makefile,v 1.40 2014/10/09 14:06:48 wiz Exp $
|
|
|
|
DISTNAME= Socket6-0.25
|
|
PKGNAME= p5-${DISTNAME}
|
|
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
|
|
|
|
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"
|