[Koha-patches] [PATCH 31/92] Fix for MSWin32

Henri-Damien LAURENT henridamien.laurent at biblibre.com
Tue Dec 22 01:20:24 CET 2009


From: Chris Nighswonger <chris.nighswonger at gmail.com>

A tweak to restore MSWin32 installation capability.

NOTE: Native MSWin32 support in Koha is for Strawberry Perl 5.10.1.0 or later.
There are some issues with GDBM_File.pm which prevent Koha from running without a bit of
a workaround. This will be resolved in the January 2010 release of Strawberry Perl. More
can be read concerning this in the INSTALL.MSWin32 file which will be forth-coming.

NOTE: There will be several other minor changes to other portions of the Koha code base
in order to fix misc issues when Koha is installed on MSWin32.
---
 Makefile.PL |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile.PL b/Makefile.PL
index aeeba7f..6aa709d 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -1315,7 +1315,7 @@ sub get_target_directories {
 
     _get_env_overrides(\%dirmap);
     _get_argv_overrides(\%dirmap);
-    _add_destdir(\%dirmap);
+    _add_destdir(\%dirmap) unless ($^O eq 'MSWin32');
 
     return \%dirmap, \%skipdirs;
 }
-- 
1.6.3.3




More information about the Koha-patches mailing list