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 | |
parent | ed89699cd4543555b55e96768240f1af49302bf4 (diff) | |
download | freebsd-ports-gnome-40fdb4b5b7ac85d197c51e02fd483144bb2654bd.tar.gz freebsd-ports-gnome-40fdb4b5b7ac85d197c51e02fd483144bb2654bd.tar.zst freebsd-ports-gnome-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.
-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 1a6eadf946e4..c4f5dddaae50 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 |