git-svn-id: https://svn.osgeo.org/grass/grass/trunk@72605 15284696-431f-4ddb-bdfa-cd5b030d7da7
@@ -2,11 +2,9 @@ MODULE_TOPDIR = ../..
PGM = r.sunhours
-LIBES = $(GPROJLIB) $(RASTERLIB) $(GISLIB) $(PROJLIB)
+LIBES = $(GPROJLIB) $(RASTERLIB) $(GISLIB)
DEPENDENCIES = $(GPROJDEP) $(RASTERDEP) $(GISDEP)
-EXTRA_INC = $(PROJINC)
-
include $(MODULE_TOPDIR)/include/Make/Module.make
default: cmd
@@ -225,6 +225,7 @@ int main(int argc, char *argv[])
G_free_key_value(in_unit_info);
oproj.pj = NULL;
+ tproj.def = NULL;
if (GPJ_init_transform(&iproj, &oproj, &tproj) < 0)
G_fatal_error(_("Unable to initialize coordinate transformation"));