1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by scripts/Create-CopyPatch.
4 # T2 SDE: package/.../freeciv/freeciv.conf
5 # Copyright (C) 2004 - 2020 The T2 SDE Project
6 # Copyright (C) 1998 - 2003 ROCK Linux Project
8 # More information can be found in the files COPYING and README.
10 # This program is free software; you can redistribute it and/or modify
11 # it under the terms of the GNU General Public License as published by
12 # the Free Software Foundation; version 2 of the License. A copy of the
13 # GNU General Public License can be found in the file COPYING.
14 # --- T2-COPYRIGHT-NOTE-END ---
16 bindir=$root/$SDECFG_PKG_GAMES_BINDIR
17 datadir=$root/$SDECFG_PKG_GAMES_DATADIR
18 [ "$SDECFG_DISABLE_NLS" == "1" ] &&
19 var_append extraconfopt " " "--disable-nls"
20 [ "$SDECFG_PKG_FREECIV_ESD" == "0" ] &&
21 var_append extraconfopt " " "--disable-esd"
22 [ "$SDECFG_PKG_FREECIV_SDLMIX" == "0" ] &&
23 var_append extraconfopt " " "--disable-sdl-mixer"
24 [ "$SDECFG_PKG_FREECIV_READLINE" == "1" ] &&
25 var_append extraconfopt " " "--with-readline"
26 if [ "$SDECFG_PKG_FREECIV_XAW" == "xaw" ]; then
27 var_append extraconfopt " " "--with-xaw"
28 elif [ "$SDECFG_PKG_FREECIV_XAW" == "xaw3d" ]; then
29 var_append extraconfopt " " "--with-xaw3d"
31 [ "$SDECFG_PKG_FREECIV_ZLIB" == "1" ] &&
32 var_append extraconfopt " " "--with-zlib"
33 [ "$SDECFG_PKG_FREECIV_EFENCE" == "1" ] &&
34 var_append extraconfopt " " "--with-efence"