[Koha-patches] [PATCH] Fix for MSWin32

Chris Nighswonger chris.nighswonger at gmail.com
Sun Dec 6 05:12:20 CET 2009


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 e3957dc..0a86cc4 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -1308,7 +1308,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.5.1.1367.gcd48




More information about the Koha-patches mailing list