# --- T2-COPYRIGHT-NOTE-BEGIN --- # T2 SDE: package/*/gwhere/gwhere.conf # Copyright (C) 2004 - 2021 The T2 SDE Project # # This Copyright note is generated by scripts/Create-CopyPatch, # more information can be found in the files COPYING and README. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2. # --- T2-COPYRIGHT-NOTE-END --- var_append confopt ' ' '--enable-gtk20' gwhere_fix_make() { #weird stuff at end of file cause fail: sed -i -e 's%^@GT_YES@.*%%' intl/Makefile sed -i -e 's%^@GT_NO@.*%%' intl/Makefile #needs -lgmodule-2.0 sed -i -e 's%^GTK_LIBS = %GTK_LIBS = -lgmodule-2.0 %' src/Makefile sed -i -e 's%^LIBS = %LIBS = -lgmodule-2.0 %' src/Makefile } hook_add premake 5 "gwhere_fix_make"