b71a1d488b
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some other changes are outlined in http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
24 lines
570 B
Makefile
24 lines
570 B
Makefile
# $NetBSD: Makefile,v 1.12 2005/12/05 20:51:01 rillig Exp $
|
|
|
|
DISTNAME= socket-1.1
|
|
CATEGORIES= sysutils net
|
|
MASTER_SITES= http://www.freebsd.org/~wosch/src/
|
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
|
COMMENT= Create tcp socket and connect to stdin/out
|
|
|
|
MAKE_ENV+= INSTALLBASE=${PREFIX:Q}
|
|
|
|
BUILD_DEFS+= USE_INET6
|
|
|
|
# to get USE_INET6
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
# IPv6 support
|
|
.if defined(USE_INET6) && ${USE_INET6} == YES
|
|
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"
|