aboutsummaryrefslogtreecommitdiff
path: root/games/freeciv
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2010-06-30 05:39:18 +0000
committerJohan van Selst <johans@FreeBSD.org>2010-06-30 05:39:18 +0000
commitd06523c58569e25a636dcb0a842345470d129d2c (patch)
tree17fd3eb5fbc58c01298774a9e201792518af99d9 /games/freeciv
parentd9dd1cdb02cc59a2ca097359e95e5a91b306d23e (diff)
downloadports-d06523c58569e25a636dcb0a842345470d129d2c.tar.gz
ports-d06523c58569e25a636dcb0a842345470d129d2c.zip
Optionally disable IPv6 support. Required to run on IPv4-only systems.
PR: ports/148252 Submitted by: Emil Smolenski Feature safe: yes
Notes
Notes: svn path=/head/; revision=257188
Diffstat (limited to 'games/freeciv')
-rw-r--r--games/freeciv/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/games/freeciv/Makefile b/games/freeciv/Makefile
index fd7df70b7f57..7d54feb68d73 100644
--- a/games/freeciv/Makefile
+++ b/games/freeciv/Makefile
@@ -7,7 +7,7 @@
PORTNAME= freeciv
PORTVERSION= 2.2.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= SF/freeciv/Freeciv%20${PORTVERSION:R}/${PORTVERSION}
@@ -63,6 +63,10 @@ CONFIGURE_ARGS+=--enable-auth --with-mysql-prefix=${LOCALBASE}
USE_MYSQL= yes
.endif
+.ifdef WITHOUT_IPV6
+CONFIGURE_ARGS+=--disable-ipv6
+.endif
+
.ifdef WITHOUT_NLS
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "