---- gdal-1.5.1/swig/perl/GNUmakefile.orig 2007-12-03 21:59:25.000000000 +0100
-+++ gdal-1.5.1/swig/perl/GNUmakefile 2008-06-05 21:12:26.429445475 +0200
-@@ -30,7 +30,7 @@
+--- 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:
- # PREFIX=${INST_PREFIX} perl Makefile.PL
-- perl Makefile.PL
+ Makefile_Geo__GDAL: ${WRAPPERS} Makefile.PL
+- perl Makefile.PL INSTALL_BASE=$(INST_PREFIX)
+ perl Makefile.PL INSTALLDIRS=vendor
- build: Makefile_Geo__GDAL
- $(MAKE) -f Makefile_Geo__GDAL
+ test: build
+ $(MAKE) -f Makefile_Geo__GDAL test