diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2010-07-20 11:37:37 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2010-07-20 11:37:37 +0000 |
commit | 44ff0dcc6ac2a8244c2ddf49871bd3d58a7af06b (patch) | |
tree | cfdc710f705cafe56a1da544145179ffd0e91f73 /dev-libs/openssl | |
parent | Added gccmakedep to DEPEND, #329093 (diff) | |
download | gentoo-2-44ff0dcc6ac2a8244c2ddf49871bd3d58a7af06b.tar.gz gentoo-2-44ff0dcc6ac2a8244c2ddf49871bd3d58a7af06b.tar.bz2 gentoo-2-44ff0dcc6ac2a8244c2ddf49871bd3d58a7af06b.zip |
do something useful in pkg_setup
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/openssl')
-rw-r--r-- | dev-libs/openssl/openssl-0.9.8o-r1.ebuild | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/dev-libs/openssl/openssl-0.9.8o-r1.ebuild b/dev-libs/openssl/openssl-0.9.8o-r1.ebuild index a5138694b0df..484be17c423a 100644 --- a/dev-libs/openssl/openssl-0.9.8o-r1.ebuild +++ b/dev-libs/openssl/openssl-0.9.8o-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/openssl-0.9.8o-r1.ebuild,v 1.1 2010/07/17 10:02:17 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/openssl-0.9.8o-r1.ebuild,v 1.2 2010/07/20 11:37:37 ssuominen Exp $ # this ebuild is only for the libcrypto.so.0.9.8 and libssl.so.0.9.8 SONAME for ABI compat @@ -26,9 +26,10 @@ DEPEND="${RDEPEND} test? ( sys-devel/bc )" pkg_setup() { - if [[ -e ${ROOT}/usr/$(get_libdir)/lib{crypto,ssl}.so.0.9.8 ]]; then - rm -f "${ROOT}"/usr/$(get_libdir)/lib{crypto,ssl}.so.0.9.8 - fi + [[ -e ${ROOT}/usr/$(get_libdir)/libcrypto.so.0.9.8 ]] && \ + rm -f "${ROOT}"/usr/$(get_libdir)/libcrypto.so.0.9.8 + [[ -e ${ROOT}/usr/$(get_libdir)/libssl.so.0.9.8 ]] && \ + rm -f "${ROOT}"/usr/$(get_libdir)/libssl.so.0.9.8 } src_unpack() { |