commit:     e6962df623a3a3a69a66dc17d8ebcea55127c10e
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 23 22:09:06 2017 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Wed Aug 23 22:09:31 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6962df6

sci-calculators/datamash: Fix patch/drop autotools.eclass.

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 sci-calculators/datamash/datamash-1.2.ebuild         |  7 -------
 .../datamash/files/datamash-1.2-libcrypto.patch      | 20 ++++++++++++++++++++
 2 files changed, 20 insertions(+), 7 deletions(-)

diff --git a/sci-calculators/datamash/datamash-1.2.ebuild 
b/sci-calculators/datamash/datamash-1.2.ebuild
index 87c7f2fe928..2046d05d80f 100644
--- a/sci-calculators/datamash/datamash-1.2.ebuild
+++ b/sci-calculators/datamash/datamash-1.2.ebuild
@@ -2,7 +2,6 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-inherit autotools
 
 DESCRIPTION="command-line program for basic numeric, textual and statistical 
operations"
 HOMEPAGE="https://www.gnu.org/software/datamash/";
@@ -28,12 +27,6 @@ PATCHES=(
        "${FILESDIR}"/${PN}-1.2-libcrypto.patch
 )
 
-src_prepare() {
-       default
-
-       eautoreconf
-}
-
 src_configure() {
        econf \
                $(use_enable nls) \

diff --git a/sci-calculators/datamash/files/datamash-1.2-libcrypto.patch 
b/sci-calculators/datamash/files/datamash-1.2-libcrypto.patch
index ef1f32e9855..887d807ec04 100644
--- a/sci-calculators/datamash/files/datamash-1.2-libcrypto.patch
+++ b/sci-calculators/datamash/files/datamash-1.2-libcrypto.patch
@@ -8,3 +8,23 @@
         $(ROUND_LIBM) \
         $(ROUNDL_LIBM) \
         $(SQRT_LIBM) \
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -339,7 +339,8 @@
+       $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
+       $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
+       $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
+-      $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
++      $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
++      $(am__DEPENDENCIES_1)
+ datamash_LINK = $(CCLD) $(datamash_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
+       $(LDFLAGS) -o $@
+ AM_V_P = $(am__v_P_@AM_V@)
+@@ -1908,6 +1909,7 @@
+        $(LDEXPL_LIBM) \
+        $(LIBICONV) \
+        $(LIBINTL) \
++       $(LIB_CRYPTO) \
+        $(ROUND_LIBM) \
+        $(ROUNDL_LIBM) \
+        $(SQRT_LIBM) \

Reply via email to