From cc92295e22583128420662ff286e2e41e9b121d7 Mon Sep 17 00:00:00 2001 From: johans Date: Wed, 30 Jun 2010 05:39:18 +0000 Subject: Optionally disable IPv6 support. Required to run on IPv4-only systems. PR: ports/148252 Submitted by: Emil Smolenski Feature safe: yes --- games/freeciv/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 " -- cgit