aboutsummaryrefslogtreecommitdiff
path: root/games/freeciv
diff options
context:
space:
mode:
authorAndrew Pantyukhin <sat@FreeBSD.org>2008-04-28 16:03:11 +0000
committerAndrew Pantyukhin <sat@FreeBSD.org>2008-04-28 16:03:11 +0000
commitbad7a19a699830dc3be12d1a63c8e51fe3d775b6 (patch)
tree15578e3c7f572eb9ba2a3288676e5f7c4a3903a1 /games/freeciv
parentb76bfa9e46750af0ca56a8f2d2ff49f3b8ca7612 (diff)
Notes
Diffstat (limited to 'games/freeciv')
-rw-r--r--games/freeciv/Makefile12
-rw-r--r--games/freeciv/distinfo6
2 files changed, 13 insertions, 5 deletions
diff --git a/games/freeciv/Makefile b/games/freeciv/Makefile
index 94716b06e25f..fe08d5cfb27e 100644
--- a/games/freeciv/Makefile
+++ b/games/freeciv/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= freeciv
-PORTVERSION= 2.1.3
-PORTREVISION= 1
+PORTVERSION= 2.1.4
CATEGORIES= games
MASTER_SITES= SF
@@ -55,6 +54,15 @@ CONFIGURE_ARGS+=--enable-client=no
CONFLICTS= freeciv-[0-9]*
.endif
+.ifndef WITHOUT_AUTH
+.ifndef WITHOUT_MYSQL
+CONFIGURE_ARGS+= --enable-auth --with-mysql-prefix=${LOCALBASE}
+USE_MYSQL= yes
+.endif
+.else
+CONFIGURE_ARGS+= --disable-auth
+.endif
+
post-patch:
@${REINPLACE_CMD} -e '/test.*==/s|==|=|;\
/^LIBS/s|mixer|mixer $$SDL_LIBS|g' ${WRKSRC}/configure
diff --git a/games/freeciv/distinfo b/games/freeciv/distinfo
index 33fa275ca5c2..846d72e84b56 100644
--- a/games/freeciv/distinfo
+++ b/games/freeciv/distinfo
@@ -1,3 +1,3 @@
-MD5 (freeciv-2.1.3.tar.bz2) = 2b5e96c6464212273150f8d3ec0bf7f7
-SHA256 (freeciv-2.1.3.tar.bz2) = a12eb04761b6d0bd17f2ded77b90cd248383b5c29b0d3b58474a158bd5ca0a88
-SIZE (freeciv-2.1.3.tar.bz2) = 29407975
+MD5 (freeciv-2.1.4.tar.bz2) = fdad700fa15205adcb561974e206f749
+SHA256 (freeciv-2.1.4.tar.bz2) = d6a1867782ee86ac364e7feec0db78eb88cad795253fee84b6de3e687d33491c
+SIZE (freeciv-2.1.4.tar.bz2) = 29531378