aboutsummaryrefslogtreecommitdiffstats
path: root/games/freeciv
diff options
context:
space:
mode:
authorjohans <johans@FreeBSD.org>2010-06-30 13:39:18 +0800
committerjohans <johans@FreeBSD.org>2010-06-30 13:39:18 +0800
commitcc92295e22583128420662ff286e2e41e9b121d7 (patch)
treee9f06577f75c2f270dd256d0f1bc6dabd54a7788 /games/freeciv
parent9a2ad530d116d6c363310d78bf8d01892a9de2ed (diff)
downloadfreebsd-ports-gnome-cc92295e22583128420662ff286e2e41e9b121d7.tar.gz
freebsd-ports-gnome-cc92295e22583128420662ff286e2e41e9b121d7.tar.zst
freebsd-ports-gnome-cc92295e22583128420662ff286e2e41e9b121d7.zip
Optionally disable IPv6 support. Required to run on IPv4-only systems.
PR: ports/148252 Submitted by: Emil Smolenski Feature safe: yes
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 "