From 0666c766930d147346920fb4d4f456ed504fe941 Mon Sep 17 00:00:00 2001 From: "Vanilla I. Shu" Date: Sat, 15 Nov 2003 10:37:41 +0000 Subject: [PATCH] Add WITH_IPV6 knob. Submitted by: Lukasz Wasikowski --- irc/irssi-devel/Makefile | 13 ++++++++----- irc/irssi/Makefile | 13 ++++++++----- 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/irc/irssi-devel/Makefile b/irc/irssi-devel/Makefile index 07d05269b031..a5925c4ae82a 100644 --- a/irc/irssi-devel/Makefile +++ b/irc/irssi-devel/Makefile @@ -7,7 +7,7 @@ PORTNAME= irssi PORTVERSION= 0.8.6 -PORTREVISION?= 2 +PORTREVISION?= 3 CATEGORIES+= irc # `+=' is for slave ports MASTER_SITES= http://irssi.org/files/ @@ -31,11 +31,14 @@ PLIST_SUB+= WITH_PROXY="" PLIST_SUB+= WITH_PROXY="@comment " .endif -#.if ${OSVERSION} >= 400014 -#CONFIGURE_ARGS+= --enable-ipv6 -#.else +if defined(WITH_IPV6) +.if ${OSVERSION} >= 400014 +CONFIGURE_ARGS+= --enable-ipv6 +CATEGORIES+= ipv6 +.endif +.else CONFIGURE_ARGS+= --disable-ipv6 -#.endif +.endif MAN1= irssi.1 diff --git a/irc/irssi/Makefile b/irc/irssi/Makefile index 07d05269b031..a5925c4ae82a 100644 --- a/irc/irssi/Makefile +++ b/irc/irssi/Makefile @@ -7,7 +7,7 @@ PORTNAME= irssi PORTVERSION= 0.8.6 -PORTREVISION?= 2 +PORTREVISION?= 3 CATEGORIES+= irc # `+=' is for slave ports MASTER_SITES= http://irssi.org/files/ @@ -31,11 +31,14 @@ PLIST_SUB+= WITH_PROXY="" PLIST_SUB+= WITH_PROXY="@comment " .endif -#.if ${OSVERSION} >= 400014 -#CONFIGURE_ARGS+= --enable-ipv6 -#.else +if defined(WITH_IPV6) +.if ${OSVERSION} >= 400014 +CONFIGURE_ARGS+= --enable-ipv6 +CATEGORIES+= ipv6 +.endif +.else CONFIGURE_ARGS+= --disable-ipv6 -#.endif +.endif MAN1= irssi.1