07dd3147c6
and to support the "inet6" option instead. Remaining usage of USE_INET6 was solely for the benefit of the scripts that generate the README.html files. Replace: BUILD_DEFS+= USE_INET6 with BUILD_DEFS+= IPV6_READY and teach the README-generation tools to look for that instead. This nukes USE_INET6 from pkgsrc proper. We leave a tiny bit of code to continue to support USE_INET6 for pkgsrc-wip until it has been nuked from there as well.
26 lines
589 B
Makefile
26 lines
589 B
Makefile
# $NetBSD: Makefile,v 1.15 2007/09/07 22:12:23 jlam Exp $
|
|
|
|
DISTNAME= socket-1.1
|
|
CATEGORIES= sysutils net
|
|
MASTER_SITES= http://www.freebsd.org/~wosch/src/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
COMMENT= Create tcp socket and connect to stdin/out
|
|
|
|
MAKE_ENV+= INSTALLBASE=${PREFIX:Q}
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.socket
|
|
PKG_SUPPORTED_OPTIONS= inet6
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
###
|
|
### IPv6 support
|
|
###
|
|
.if !empty(PKG_OPTIONS:Minet6)
|
|
MAKE_ENV+= SWITCHES="-DUSE_INET6 -DHAVE_SYS_PARAM_H -Wall"
|
|
.else
|
|
MAKE_ENV+= SWITCHES="-DHAVE_SYS_PARAM_H -Wall"
|
|
.endif
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|