summaryrefslogtreecommitdiff
path: root/x11/gdm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/gdm/Makefile')
-rw-r--r--x11/gdm/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/x11/gdm/Makefile b/x11/gdm/Makefile
index 81f62a848a2..5a9ac0f2884 100644
--- a/x11/gdm/Makefile
+++ b/x11/gdm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.63 2004/05/08 00:27:16 xtraeme Exp $
+# $NetBSD: Makefile,v 1.64 2004/05/08 00:32:13 xtraeme Exp $
#
DISTNAME= gdm-2.6.0.2
@@ -70,6 +70,8 @@ SUBST_SED.desktop+= -e 's|@GDMGRP@|${GDMGRP}|g'
.include "../../mk/bsd.prefs.mk"
+BUILD_DEFS+= USE_INET6
+
.if ${OPSYS} == "SunOS"
CFLAGS+= -DSunOS
GDMOWN= daemon
@@ -79,6 +81,10 @@ GDMOWN= daemon
GDMGRP= daemon
.endif
+.if !empty(USE_INET6:M[Yy][Ee][Ss])
+CONFIGURE_ARGS+= --enable-ipv6
+.endif
+
.if ${OPSYS} == "NetBSD"
CONFIGURE_ARGS+= X_SERVER_ARGS="vt05"
.endif