diff options
author | 2011-04-19 13:39:02 +0000 | |
---|---|---|
committer | 2011-04-19 13:39:02 +0000 | |
commit | 336ac3c27cd63fd5f53a2d61a879ef572ec17848 (patch) | |
tree | 18fed9583b236c9470d77a7643a2d7ef9cca7c5e /app-emulation/vmware-vsphere-cli/files/makefile.patch | |
parent | cleanup (diff) | |
download | vmware-336ac3c27cd63fd5f53a2d61a879ef572ec17848.tar.gz vmware-336ac3c27cd63fd5f53a2d61a879ef572ec17848.tar.bz2 vmware-336ac3c27cd63fd5f53a2d61a879ef572ec17848.zip |
work in progress
svn path=/trunk/; revision=476
Diffstat (limited to 'app-emulation/vmware-vsphere-cli/files/makefile.patch')
-rw-r--r-- | app-emulation/vmware-vsphere-cli/files/makefile.patch | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/app-emulation/vmware-vsphere-cli/files/makefile.patch b/app-emulation/vmware-vsphere-cli/files/makefile.patch new file mode 100644 index 0000000..1afd873 --- /dev/null +++ b/app-emulation/vmware-vsphere-cli/files/makefile.patch @@ -0,0 +1,48 @@ +diff --git a/Makefile.PL b/Makefile.PL +index 046e794..429dc42 100644 +--- a/Makefile.PL ++++ b/Makefile.PL +@@ -81,43 +81,5 @@ WriteMakefile( + # /usr/bin/perl, and attempt to find a reasonable spot if you + # are running some other perl. + # +- macro => { +- # vmware apps +- INST_VMWARE_APPS => 'apps', +- DEST_VMWARE_APPS => ( +- $Config{perlpath} eq '/usr/bin/perl' ? +- '/usr/lib/vmware-viperl/apps' : +- '$(INSTALLSITESCRIPT)/apps' +- ), +- # vmware docs +- INST_VMWARE_DOC => 'doc', +- DEST_VMWARE_DOC => ( +- $Config{perlpath} eq '/usr/bin/perl' ? +- '/usr/share/doc/vmware-viperl/doc' : +- '$(SITEPREFIX)/doc' +- ), +- }, + ); + +-# +-# Additional targets for installing apps and doc. +-# +-sub MY::postamble { +- return <<'MAKE'; +-install :: install_vmware_apps install_vmware_doc +- $(NOECHO) $(NOOP) +- +-install_vmware_apps : +- $(NOECHO) $(MOD_INSTALL) \ +- $(INST_VMWARE_APPS) $(DEST_VMWARE_APPS) +- +-install_vmware_doc : +- $(NOECHO) $(MOD_INSTALL) \ +- $(INST_VMWARE_DOC) $(DEST_VMWARE_DOC) +- +-clean :: +- $(RM_RF) VMware WSMan +- +-MAKE +-} +- |