summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHerbie Hopkins <herbs@gentoo.org>2005-05-26 11:47:05 +0000
committerHerbie Hopkins <herbs@gentoo.org>2005-05-26 11:47:05 +0000
commitabc307fa73fc80693c9174a3544ddfc93e967839 (patch)
tree208746a319b91f8c4fdbcb620a34e7e59310e802 /dev-perl/Net-SSLeay/Net-SSLeay-1.25.ebuild
parentNew revision to cope with latest faad2 API changes. (diff)
downloadhistorical-abc307fa73fc80693c9174a3544ddfc93e967839.tar.gz
historical-abc307fa73fc80693c9174a3544ddfc93e967839.tar.bz2
historical-abc307fa73fc80693c9174a3544ddfc93e967839.zip
Multilib fix.
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'dev-perl/Net-SSLeay/Net-SSLeay-1.25.ebuild')
-rw-r--r--dev-perl/Net-SSLeay/Net-SSLeay-1.25.ebuild12
1 files changed, 10 insertions, 2 deletions
diff --git a/dev-perl/Net-SSLeay/Net-SSLeay-1.25.ebuild b/dev-perl/Net-SSLeay/Net-SSLeay-1.25.ebuild
index 148379e83fa2..f82dbff2d20e 100644
--- a/dev-perl/Net-SSLeay/Net-SSLeay-1.25.ebuild
+++ b/dev-perl/Net-SSLeay/Net-SSLeay-1.25.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/Net-SSLeay/Net-SSLeay-1.25.ebuild,v 1.7 2005/05/01 18:12:10 slarti Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/Net-SSLeay/Net-SSLeay-1.25.ebuild,v 1.8 2005/05/26 11:47:05 herbs Exp $
-inherit perl-module
+inherit perl-module multilib
MY_P=${PN/-/_}.pm-${PV}
S=${WORKDIR}/${MY_P}
@@ -20,3 +20,11 @@ DEPEND="dev-libs/openssl"
export OPTIMIZE="$CFLAGS"
myconf="${myconf} /usr"
+
+src_unpack() {
+ unpack ${A}
+ if [ $(get_libdir) != "lib" ] ; then
+ sed -i -e "s:openssl_path/lib:openssl_path/$(get_libdir):" \
+ ${S}/Makefile.PL || die
+ fi
+}