mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-perl/Tk-TableMatrix: EAPI6 + tests
- EAPI6ify - Enable tests (w/X11) - Update Patch for EAPI6 && git am - Fix DESCRIPTION Package-Manager: Portage-2.3.24, Repoman-2.3.6
This commit is contained in:
32
dev-perl/Tk-TableMatrix/Tk-TableMatrix-1.230.0-r2.ebuild
Normal file
32
dev-perl/Tk-TableMatrix/Tk-TableMatrix-1.230.0-r2.ebuild
Normal file
@@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_AUTHOR=CERNEY
|
||||
DIST_VERSION=1.23
|
||||
inherit perl-module virtualx
|
||||
|
||||
DESCRIPTION="Create and manipulate tables in Perl + Tk"
|
||||
|
||||
LICENSE="Artistic"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-perl/Tk"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-1.23-makemaker.patch" )
|
||||
|
||||
src_install() {
|
||||
perl-module_src_install
|
||||
|
||||
# Clean out stray conflicting file - its generated by perl-tk already.
|
||||
# Bug 169294
|
||||
rm "${D}"/${VENDOR_ARCH}/auto/Tk/pTk/extralibs.ld || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
virtx perl-module_src_test
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
From 009a27f86c882e229ea8e9cc7efdff9f6f5f751b Mon Sep 17 00:00:00 2001
|
||||
From: Matt Chorman <matt@legalizefreedom.org>
|
||||
Date: Wed, 21 Jan 2004 03:02:36 +1300
|
||||
Subject: Patch issues with newer MakeMaker
|
||||
|
||||
Bug: https://bugs.gentoo.org/34940
|
||||
Bug: https://bugs.gentoo.org/70000
|
||||
---
|
||||
pTk/Makefile.PL | 10 ++++------
|
||||
1 file changed, 4 insertions(+), 6 deletions(-)
|
||||
|
||||
diff --git a/pTk/Makefile.PL b/pTk/Makefile.PL
|
||||
index d035029..3d66a0f 100755
|
||||
--- a/pTk/Makefile.PL
|
||||
+++ b/pTk/Makefile.PL
|
||||
@@ -234,12 +234,10 @@ sub MY::postamble {
|
||||
my $self = shift;
|
||||
my $dep = $self->Tk::MMutil::mTk_postamble;
|
||||
|
||||
-$dep .= $self->dir_target(@{$self->{'dir_targets'}});
|
||||
-
|
||||
-$dep .= "config :: " . join(" \\\n\t",map($self->catfile($_,".exists"),@{$self->{'dir_targets'}})) .
|
||||
- "\n\t".$self->{NOECHO}."\$(NOOP)\n";
|
||||
-
|
||||
-
|
||||
+if ($Tk::MMutil::IsWin32 or ($win_arch eq 'MSWin32' and $^O eq 'cygwin'))
|
||||
+ {
|
||||
+ my $cc = $Config{'cc'};
|
||||
+ }
|
||||
$dep . '
|
||||
|
||||
'.$self->{NOECHO}.'$(NOOP)
|
||||
--
|
||||
2.16.2
|
||||
|
||||
Reference in New Issue
Block a user