aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsat <sat@FreeBSD.org>2008-04-29 00:03:11 +0800
committersat <sat@FreeBSD.org>2008-04-29 00:03:11 +0800
commitbfcaaa0f214c50db166f3358c8d7a7e94b45d9e2 (patch)
tree81c2be555ec2bb4e48b4791318e28be733d7a564
parent746fce7892d9053735c54d7c9799bf58a136a44a (diff)
downloadfreebsd-ports-gnome-bfcaaa0f214c50db166f3358c8d7a7e94b45d9e2.tar.gz
freebsd-ports-gnome-bfcaaa0f214c50db166f3358c8d7a7e94b45d9e2.tar.zst
freebsd-ports-gnome-bfcaaa0f214c50db166f3358c8d7a7e94b45d9e2.zip
- Update to 2.1.4
- Enable server-side MySQL auth support by default
-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