diff options
-rw-r--r-- | irc/irssi-devel/Makefile | 13 | ||||
-rw-r--r-- | 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 |