1 |
commit: 31d5415bc400feba9b5f82354aa1667a81f831ea |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 13 08:10:15 2017 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 13 08:16:08 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31d5415b |
7 |
|
8 |
net-dns/libidn2: Revbump to add pkgconfig patch (bug #609188). |
9 |
|
10 |
This is required for at least gnutls-3.5.9 and all packages depending |
11 |
on gnutls. |
12 |
|
13 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
14 |
|
15 |
net-dns/libidn2/files/libidn2-pkgconfig.diff | 42 ++++++++++++++++++++++ |
16 |
net-dns/libidn2/libidn2-0.16-r1.ebuild | 52 ++++++++++++++++++++++++++++ |
17 |
2 files changed, 94 insertions(+) |
18 |
|
19 |
diff --git a/net-dns/libidn2/files/libidn2-pkgconfig.diff b/net-dns/libidn2/files/libidn2-pkgconfig.diff |
20 |
new file mode 100644 |
21 |
index 0000000000..a5406bd862 |
22 |
--- /dev/null |
23 |
+++ b/net-dns/libidn2/files/libidn2-pkgconfig.diff |
24 |
@@ -0,0 +1,42 @@ |
25 |
+https://bugs.gentoo.org/609188 |
26 |
+ |
27 |
+diff --git a/Makefile.am b/Makefile.am |
28 |
+index f851231..438b4ce 100644 |
29 |
+--- a/Makefile.am |
30 |
++++ b/Makefile.am |
31 |
+@@ -113,3 +113,6 @@ check-coverage: |
32 |
+ |
33 |
+ clean-local: |
34 |
+ rm -rf */*.gc?? */*/*.gc?? $(LCOV_INFO) lcov |
35 |
++ |
36 |
++pkgconfigdir = $(libdir)/pkgconfig |
37 |
++pkgconfig_DATA = libidn2.pc |
38 |
+diff --git a/configure.ac b/configure.ac |
39 |
+index bfaff9a..6087f20 100644 |
40 |
+--- a/configure.ac |
41 |
++++ b/configure.ac |
42 |
+@@ -86,6 +86,7 @@ AC_CONFIG_FILES([ |
43 |
+ examples/Makefile |
44 |
+ idn2.h |
45 |
+ lib/Makefile |
46 |
++ libidn2.pc |
47 |
+ po/Makefile.in |
48 |
+ src/Makefile |
49 |
+ tests/Makefile |
50 |
+diff --git a/libidn2.pc.in b/libidn2.pc.in |
51 |
+new file mode 100644 |
52 |
+index 0000000..0dade23 |
53 |
+--- /dev/null |
54 |
++++ b/libidn2.pc.in |
55 |
+@@ -0,0 +1,11 @@ |
56 |
++prefix=@prefix@ |
57 |
++exec_prefix=@exec_prefix@ |
58 |
++includedir=@includedir@ |
59 |
++libdir=@libdir@ |
60 |
++ |
61 |
++Name: libidn2 |
62 |
++Description: Library implementing IDNA2008 and TR46 |
63 |
++Version: @PACKAGE_VERSION@ |
64 |
++Cflags: -I${includedir} |
65 |
++Libs: -L${libdir} -lidn2 |
66 |
++Libs.private: @LTLIBICONV@ @LTLIBUNISTRING@ |
67 |
|
68 |
diff --git a/net-dns/libidn2/libidn2-0.16-r1.ebuild b/net-dns/libidn2/libidn2-0.16-r1.ebuild |
69 |
new file mode 100644 |
70 |
index 0000000000..8479fecedc |
71 |
--- /dev/null |
72 |
+++ b/net-dns/libidn2/libidn2-0.16-r1.ebuild |
73 |
@@ -0,0 +1,52 @@ |
74 |
+# Copyright 1999-2017 Gentoo Foundation |
75 |
+# Distributed under the terms of the GNU General Public License v2 |
76 |
+# $Id$ |
77 |
+ |
78 |
+EAPI=6 |
79 |
+inherit autotools eutils multilib-minimal |
80 |
+ |
81 |
+DESCRIPTION="An implementation of the IDNA2008 specifications (RFCs 5890, 5891, 5892, 5893)" |
82 |
+HOMEPAGE="https://www.gnu.org/software/libidn/#libidn2 https://gitlab.com/jas/libidn2" |
83 |
+SRC_URI=" |
84 |
+ mirror://gnu-alpha/libidn/${P}.tar.gz |
85 |
+" |
86 |
+ |
87 |
+LICENSE="GPL-2+ LGPL-3+" |
88 |
+SLOT="0" |
89 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~x86 ~ppc-aix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
90 |
+IUSE="static-libs" |
91 |
+ |
92 |
+RDEPEND=" |
93 |
+ dev-libs/libunistring[${MULTILIB_USEDEP}] |
94 |
+" |
95 |
+DEPEND=" |
96 |
+ ${RDEPEND} |
97 |
+ dev-lang/perl |
98 |
+ sys-apps/help2man |
99 |
+" |
100 |
+ |
101 |
+PATCHES=( |
102 |
+ "${FILESDIR}"/${PN}-0.12-Werror.patch |
103 |
+ "${FILESDIR}"/${PN}-0.12-examples.patch |
104 |
+ "${FILESDIR}"/${PN}-0.16-gengetopt.patch |
105 |
+ "${FILESDIR}"/${PN}-pkgconfig.diff |
106 |
+) |
107 |
+ |
108 |
+src_prepare() { |
109 |
+ default |
110 |
+ |
111 |
+ eautoreconf |
112 |
+ |
113 |
+ multilib_copy_sources |
114 |
+} |
115 |
+ |
116 |
+multilib_src_configure() { |
117 |
+ econf \ |
118 |
+ $(use_enable static-libs static) |
119 |
+} |
120 |
+ |
121 |
+multilib_src_install() { |
122 |
+ default |
123 |
+ |
124 |
+ prune_libtool_files |
125 |
+} |