- patch that adjusts init.pl.default to our needs
authorhawk <hawk@pld-linux.org>
Tue, 20 Jun 2006 13:32:49 +0000 (13:32 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    VMware-server-init_pl.patch -> 1.1

VMware-server-init_pl.patch [new file with mode: 0644]

diff --git a/VMware-server-init_pl.patch b/VMware-server-init_pl.patch
new file mode 100644 (file)
index 0000000..a033699
--- /dev/null
@@ -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};
+-  }
+ }
+ #############################################################
This page took 0.030971 seconds and 4 git commands to generate.