1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00

Add WITH_IPV6 knob.

Submitted by:	 Lukasz Wasikowski <idaho@kochana.org>
This commit is contained in:
Vanilla I. Shu 2003-11-15 10:37:41 +00:00
parent 08fa6d82d0
commit 0666c76693
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=94005
2 changed files with 16 additions and 10 deletions

View File

@ -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

View File

@ -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