diff options
author | marcus <marcus@FreeBSD.org> | 2004-04-11 11:17:14 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2004-04-11 11:17:14 +0800 |
commit | 40fdb4b5b7ac85d197c51e02fd483144bb2654bd (patch) | |
tree | d4995a740e24bcbafe59345c471bf074071bf700 /x11 | |
parent | ed89699cd4543555b55e96768240f1af49302bf4 (diff) | |
download | freebsd-ports-graphics-40fdb4b5b7ac85d197c51e02fd483144bb2654bd.tar.gz freebsd-ports-graphics-40fdb4b5b7ac85d197c51e02fd483144bb2654bd.tar.zst freebsd-ports-graphics-40fdb4b5b7ac85d197c51e02fd483144bb2654bd.zip |
The new IPv6 code in GDM causes IPv4 support to be disabled. Therefore,
add an OPTIONS knob for enabling IPv6 support, but enable IPv4 support by
default.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/gdm2/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/x11/gdm2/Makefile b/x11/gdm2/Makefile index 1a6eadf946e..c4f5dddaae5 100644 --- a/x11/gdm2/Makefile +++ b/x11/gdm2/Makefile @@ -7,7 +7,7 @@ PORTNAME= gdm2 PORTVERSION= 2.6.0.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11 gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/2.6 @@ -30,6 +30,8 @@ PKGMESSAGE= ${WRKDIR}/pkg-message MAN1= gdm.1 +OPTIONS= IPV6 "Enable IPv6 support (This disables IPv4 support)" off + .include <bsd.port.pre.mk> .if exists(/usr/include/security/pam_misc.h) @@ -38,6 +40,12 @@ PLIST_SUB= PAM_MISC="" PLIST_SUB= PAM_MISC="@comment " .endif +.if defined(WITH_IPV6) +CONFIGURE_ARGS+= --enable-ipv6 +.else +CONFIGURE_ARGS+= --disable-ipv6 +.endif + post-extract: @${SED} -e "s,%%PREFIX%%,${PREFIX},g" \ ${FILESDIR}/gdm.sh.sample > ${WRKSRC}/gdm.sh.sample |