marcus: server/kolabconf ChangeLog,1.4,1.5 Makefile.PL,1.16,1.17

cvs at kolab.org cvs at kolab.org
Wed Jan 2 16:36:54 CET 2008


Author: marcus

Update of /kolabrepository/server/kolabconf
In directory doto:/tmp/cvs-serv9480

Modified Files:
	ChangeLog Makefile.PL 
Log Message:
Fixed build for older versions of ExtUtils::MakeMaker.

Index: ChangeLog
===================================================================
RCS file: /kolabrepository/server/kolabconf/ChangeLog,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- ChangeLog	1 Jan 2008 20:49:55 -0000	1.4
+++ ChangeLog	2 Jan 2008 15:36:52 -0000	1.5
@@ -1,3 +1,8 @@
+2008-01-02  Marcus Hüwe   <suse-tux at gmx.de>
+	* Makefile.PL:
+	
+	Fixed build for older versions of ExtUtils::MakeMaker.
+
 2008-01-01  Marcus Hüwe   <suse-tux at gmx.de>
 	* bin/kolabconf.in:
 	

Index: Makefile.PL
===================================================================
RCS file: /kolabrepository/server/kolabconf/Makefile.PL,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- Makefile.PL	12 Dec 2007 14:24:31 -0000	1.16
+++ Makefile.PL	2 Jan 2008 15:36:52 -0000	1.17
@@ -139,12 +139,20 @@
     return $add;
 }
 
+# older versions of ExtUtils:MakeMaker don't support INSTALLVENDORSCRIPT
+my $installscript = "";
+if ($ExtUtils::MakeMaker::VERSION >= 6.42) {
+    $installscript = "INSTALLVENDORSCRIPT";
+} else {
+    $installscript = "INSTALLSCRIPT";
+}
+
 WriteMakefile(
     NAME              => 'kolabconf',
     VERSION           => $VERSION,
     INSTALLDIRS       => 'vendor',
     EXE_FILES         => [ 'bin/kolabconf', ],
-    INSTALLVENDORSCRIPT => $INSTALLSCRIPT,
+    $installscript    => $INSTALLSCRIPT,
     ABSTRACT          => 
 'kolabconf provides the central mechanism to the configuration concept
 of the Kolab server. It rewrites the Kolab configuration templates





More information about the commits mailing list