-diff -Nur gdal-1.6.1.orig/swig/perl/GNUmakefile gdal-1.6.1/swig/perl/GNUmakefile
---- gdal-1.6.1.orig/swig/perl/GNUmakefile 2008-09-13 12:49:45.000000000 +0100
-+++ gdal-1.6.1/swig/perl/GNUmakefile 2009-07-08 21:20:24.000000000 +0100
-@@ -46,4 +46,4 @@
- $(MAKE) -f Makefile_Geo__GDAL dist
+--- gdal-2.4.0/swig/perl/GNUmakefile.orig 2018-12-26 21:34:07.219588369 +0100
++++ gdal-2.4.0/swig/perl/GNUmakefile 2018-12-26 21:35:04.292921051 +0100
+@@ -28,7 +28,7 @@
+ if [ -f Makefile_Geo__GNM ]; then $(MAKE) -f Makefile_Geo__GNM; fi
- Makefile_Geo__GDAL:
-- perl Makefile.PL
+ Makefile_Geo__GDAL: ${WRAPPERS} Makefile.PL
+- perl Makefile.PL INSTALL_BASE=$(INST_PREFIX)
+ perl Makefile.PL INSTALLDIRS=vendor
+
+ test: build
+ $(MAKE) -f Makefile_Geo__GDAL test