summaryrefslogtreecommitdiff
path: root/sysutils/socket/Makefile
blob: a803adaf05b33b2aa93ee7326fe7724e75ea9125 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $NetBSD: Makefile,v 1.7 2001/02/17 17:42:18 wiz Exp $
# FreeBSD Id: Makefile,v 1.7 1997/08/16 10:14:56 wosch Exp
#

DISTNAME=	socket-1.1
CATEGORIES=	sysutils net
MASTER_SITES=	http://www.freebsd.org/~wosch/src/

MAINTAINER=	packages@netbsd.org
COMMENT=	create tcp socket and connect to stdin/out

MAKE_ENV+=	INSTALLBASE=${PREFIX}

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"