diff options
author | Andreas K. Huettel (dilfridge) <dilfridge@gentoo.org> | 2015-11-22 23:44:43 +0100 |
---|---|---|
committer | Andreas K. Huettel (dilfridge) <dilfridge@gentoo.org> | 2015-11-22 23:44:43 +0100 |
commit | b052ec40a6db27f050e4020100fa60cfd457f878 (patch) | |
tree | efc328bbadb5bc778823ddc6b39c7e4e3f1ecfa7 /dev-perl/Net-SSLeay/Net-SSLeay-1.650.0-r2.ebuild | |
parent | app-admin/yaala: Major QA cleanup, includes the fix for bug 565428 (diff) | |
download | gentoo-b052ec40a6db27f050e4020100fa60cfd457f878.tar.gz gentoo-b052ec40a6db27f050e4020100fa60cfd457f878.tar.bz2 gentoo-b052ec40a6db27f050e4020100fa60cfd457f878.zip |
dev-perl/Net-SSLeay: add libressl support, bug 563570
Package-Manager: portage-2.2.25
Diffstat (limited to 'dev-perl/Net-SSLeay/Net-SSLeay-1.650.0-r2.ebuild')
-rw-r--r-- | dev-perl/Net-SSLeay/Net-SSLeay-1.650.0-r2.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/dev-perl/Net-SSLeay/Net-SSLeay-1.650.0-r2.ebuild b/dev-perl/Net-SSLeay/Net-SSLeay-1.650.0-r2.ebuild new file mode 100644 index 000000000000..a11aba4ec489 --- /dev/null +++ b/dev-perl/Net-SSLeay/Net-SSLeay-1.650.0-r2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +MODULE_AUTHOR=MIKEM +MODULE_VERSION=1.65 +inherit multilib perl-module + +DESCRIPTION="Net::SSLeay module for perl" + +LICENSE="openssl" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="libressl" + +RDEPEND=" + !libressl? ( dev-libs/openssl:0 ) + libressl? ( dev-libs/libressl ) +" +DEPEND="${RDEPEND}" +# test? ( dev-perl/Test-Exception +# dev-perl/Test-Warn +# dev-perl/Test-NoWarnings )" + +#SRC_TEST=do + +export OPTIMIZE="$CFLAGS" +export OPENSSL_PREFIX=${EPREFIX}/usr + +src_prepare() { + sed -i \ + -e "/\$opts->{optimize} = '-O2 -g';/d" \ + -e "s,\"\$prefix/lib\",\"\$prefix/$(get_libdir)\"," \ + inc/Module/Install/PRIVATE/Net/SSLeay.pm || die + perl-module_src_prepare +} |