summaryrefslogtreecommitdiffstats
path: root/lib/libutil
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2006-06-09 18:11:29 +0000
committerdelphij <delphij@FreeBSD.org>2006-06-09 18:11:29 +0000
commit1489501378929454c847f6a8ad40bb2a52c803bb (patch)
tree74622dd4a1a68025829343e8fee45c5cc928b227 /lib/libutil
parent19b40fe9aee31bea62945662f6adb8c92b5208ad (diff)
downloadFreeBSD-src-1489501378929454c847f6a8ad40bb2a52c803bb.zip
FreeBSD-src-1489501378929454c847f6a8ad40bb2a52c803bb.tar.gz
Don't build IPv6 support if we have choosen not to have it.
Diffstat (limited to 'lib/libutil')
-rw-r--r--lib/libutil/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libutil/Makefile b/lib/libutil/Makefile
index 60d4aaf..4e6e0ab 100644
--- a/lib/libutil/Makefile
+++ b/lib/libutil/Makefile
@@ -1,11 +1,15 @@
# @(#)Makefile 8.1 (Berkeley) 6/4/93
# $FreeBSD$
+.include <bsd.own.mk>
+
LIB= util
SHLIB_MAJOR= 6
SHLIBDIR?= /lib
CFLAGS+=-DLIBC_SCCS -I${.CURDIR} -I${.CURDIR}/../libc/gen/
+.if ${MK_INET6_SUPPORT} != "no"
CFLAGS+=-DINET6
+.endif
SRCS= _secure_path.c auth.c fparseln.c humanize_number.c kld.c login.c \
login_auth.c login_cap.c login_class.c login_crypt.c login_ok.c \
login_times.c login_tty.c logout.c logwtmp.c \
OpenPOWER on IntegriCloud