1 |
commit: b052ec40a6db27f050e4020100fa60cfd457f878 |
2 |
Author: Andreas K. Huettel (dilfridge) <dilfridge <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Nov 22 22:44:43 2015 +0000 |
4 |
Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Nov 22 22:44:43 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b052ec40 |
7 |
|
8 |
dev-perl/Net-SSLeay: add libressl support, bug 563570 |
9 |
|
10 |
Package-Manager: portage-2.2.25 |
11 |
|
12 |
dev-perl/Net-SSLeay/Net-SSLeay-1.650.0-r2.ebuild | 38 ++++++++++++++++++++++++ |
13 |
1 file changed, 38 insertions(+) |
14 |
|
15 |
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 |
16 |
new file mode 100644 |
17 |
index 0000000..a11aba4 |
18 |
--- /dev/null |
19 |
+++ b/dev-perl/Net-SSLeay/Net-SSLeay-1.650.0-r2.ebuild |
20 |
@@ -0,0 +1,38 @@ |
21 |
+# Copyright 1999-2015 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+# $Id$ |
24 |
+ |
25 |
+EAPI=5 |
26 |
+ |
27 |
+MODULE_AUTHOR=MIKEM |
28 |
+MODULE_VERSION=1.65 |
29 |
+inherit multilib perl-module |
30 |
+ |
31 |
+DESCRIPTION="Net::SSLeay module for perl" |
32 |
+ |
33 |
+LICENSE="openssl" |
34 |
+SLOT="0" |
35 |
+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" |
36 |
+IUSE="libressl" |
37 |
+ |
38 |
+RDEPEND=" |
39 |
+ !libressl? ( dev-libs/openssl:0 ) |
40 |
+ libressl? ( dev-libs/libressl ) |
41 |
+" |
42 |
+DEPEND="${RDEPEND}" |
43 |
+# test? ( dev-perl/Test-Exception |
44 |
+# dev-perl/Test-Warn |
45 |
+# dev-perl/Test-NoWarnings )" |
46 |
+ |
47 |
+#SRC_TEST=do |
48 |
+ |
49 |
+export OPTIMIZE="$CFLAGS" |
50 |
+export OPENSSL_PREFIX=${EPREFIX}/usr |
51 |
+ |
52 |
+src_prepare() { |
53 |
+ sed -i \ |
54 |
+ -e "/\$opts->{optimize} = '-O2 -g';/d" \ |
55 |
+ -e "s,\"\$prefix/lib\",\"\$prefix/$(get_libdir)\"," \ |
56 |
+ inc/Module/Install/PRIVATE/Net/SSLeay.pm || die |
57 |
+ perl-module_src_prepare |
58 |
+} |