summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2006-10-03 13:10:57 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2006-10-03 13:10:57 +0000
commit121f84a1f918e853006f50e810e974a089943334 (patch)
treedf52ecaacdf33779aafc7b468b94234bedb1e621 /eclass
parentremove unused (diff)
downloadgentoo-2-121f84a1f918e853006f50e810e974a089943334.tar.gz
gentoo-2-121f84a1f918e853006f50e810e974a089943334.tar.bz2
gentoo-2-121f84a1f918e853006f50e810e974a089943334.zip
Added libcrypto code to vmware.eclass for bug #148682.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/vmware.eclass10
1 files changed, 9 insertions, 1 deletions
diff --git a/eclass/vmware.eclass b/eclass/vmware.eclass
index 4ef685409787..46b380e87f3a 100644
--- a/eclass/vmware.eclass
+++ b/eclass/vmware.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/vmware.eclass,v 1.11 2006/10/02 22:08:21 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/vmware.eclass,v 1.12 2006/10/03 13:10:57 wolf31o2 Exp $
# This eclass is for all vmware-* ebuilds in the tree and should contain all
# of the common components across the multiple packages.
@@ -153,6 +153,7 @@ vmware_src_unpack() {
fi
# Unpack our new libs.
unpack vmware-libssl.so.0.9.7l.tar.bz2
+ unpack vmware-libcrypto.so.0.9.7l.tar.bz2
fi
}
@@ -198,6 +199,13 @@ vmware_src_install() {
# Now, we move in our own
cp -pPR "${S}"/libssl.so.0.9.7 "${S}"/lib/lib
fi
+ # We remove the shipped libcrypto for bug #148682
+ if [ -d "${S}"/lib/lib/libcrypto.so.0.9.7 ]
+ then
+ rm -rf "${S}"/lib/lib/libcrypto.so.0.9.7
+ # Now, we move in our own
+ cp -pPR "${S}"/libcrypto.so.0.9.7 "${S}"/lib/lib
+ fi
# We loop through our directories and copy everything to our system.
for x in bin lib sbin