SOURCES: VMware-server-init_pl.patch (NEW) - patch that adjusts in...

hawk hawk at pld-linux.org
Tue Jun 20 15:32:54 CEST 2006


Author: hawk                         Date: Tue Jun 20 13:32:54 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- patch that adjusts init.pl.default to our needs

---- Files affected:
SOURCES:
   VMware-server-init_pl.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/VMware-server-init_pl.patch
diff -u /dev/null SOURCES/VMware-server-init_pl.patch:1.1
--- /dev/null	Tue Jun 20 15:32:54 2006
+++ SOURCES/VMware-server-init_pl.patch	Tue Jun 20 15:32:49 2006
@@ -0,0 +1,35 @@
+--- lib/serverd/init.pl.default	2006-04-25 23:59:55.000000000 +0200
++++ lib/serverd/init.pl.default	2006-06-20 13:37:46.465591250 +0200
+@@ -19,26 +19,15 @@
+ BEGIN {
+   $ENV{vmware_VMSERVERD} = 1;
+   $ENV{vmware_PROFILE} = 0;
+-  if ( $^O eq "MSWin32" ) {
+-      $PLATFORM = "MSWin32-x86";
+-  } else {
+-      $PLATFORM = "i386-linux";
+-  }
+-
+-  if( -d '%debugdir%' ) {
+-      $PREFIX_PATH = '%debugdir%';
+-  } else {
+-      $PREFIX_PATH = '%libdir%';
+-  }
+ 
+-  @INC = ("$PREFIX_PATH/perl5/site_perl/5.005",
+-	  "$PREFIX_PATH/perl5/site_perl/5.005/$PLATFORM",
++  @INC = ("%sitearch%",
++	  "%sitelib%",
++	  "%vendorarch%",
++	  "%vendorlib%",
++	  "%archlib%",
++	  "%privlib%",
+ 	  '.'
+ 	  );
+-
+-  if ( $^O eq "MSWin32" ) {
+-      $ENV{PATH} = "$PREFIX_PATH;" . $ENV{PATH};
+-  }
+ }
+ 
+ #############################################################
================================================================


More information about the pld-cvs-commit mailing list