Since if there is no installed openssl-0.9.6, the openssl-0.9.6.tar.gz file no more needed by ebuild, maybe good idea to patch ebuild with following patch or something like? --- /home/ports/dev-libs/openssl/openssl-0.9.7d.ebuild 2004-03-18 01:50:37.000000000 +0200 +++ openssl-0.9.7d.ebuild 2004-03-20 01:49:36.000000000 +0200 @@ -8,8 +8,13 @@ S="${WORKDIR}" DESCRIPTION="Toolkit for SSL v2/v3 and TLS v1" -SRC_URI="mirror://openssl/source/${P}.tar.gz - mirror://openssl/source/${OLD_096_P}.tar.gz" + +OLD_096_URI="" +test -f ${ROOT}/usr/lib/libssl.so.0.9.6 && { + OLD_096_URI="mirror://openssl/source/${OLD_096_P}.tar.gz" +} + +SRC_URI="mirror://openssl/source/${P}.tar.gz ${OLD_096_URI}" HOMEPAGE="http://www.openssl.org/" RDEPEND="virtual/glibc" Reproducible: Always Steps to Reproduce: 1. 2. 3.
Sorry, It's not allowed to use conditions in SRC_URI except for use flags.