summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-perl/Tk-TableMatrix/Tk-TableMatrix-1.2.3.ebuild')
-rw-r--r--dev-perl/Tk-TableMatrix/Tk-TableMatrix-1.2.3.ebuild19
1 files changed, 18 insertions, 1 deletions
diff --git a/dev-perl/Tk-TableMatrix/Tk-TableMatrix-1.2.3.ebuild b/dev-perl/Tk-TableMatrix/Tk-TableMatrix-1.2.3.ebuild
index 503e85fbea37..10a91a53a4ab 100644
--- a/dev-perl/Tk-TableMatrix/Tk-TableMatrix-1.2.3.ebuild
+++ b/dev-perl/Tk-TableMatrix/Tk-TableMatrix-1.2.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/Tk-TableMatrix/Tk-TableMatrix-1.2.3.ebuild,v 1.1 2007/01/14 01:30:51 mcummings Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/Tk-TableMatrix/Tk-TableMatrix-1.2.3.ebuild,v 1.2 2007/03/30 21:00:29 mcummings Exp $
inherit versionator perl-module eutils
@@ -27,3 +27,20 @@ src_unpack() {
epatch ${FILESDIR}/pTk-1.22.patch
}
+src_install() {
+ perl-module_src_install
+ # Clean out stray conflicting file - its generated by perl-tk already.
+ # Bug 169294
+ local version
+ eval `perl '-V:version'`
+ perl_version=${version}
+
+ local myarch
+ eval `perl '-V:archname'`
+ myarch=${archname}
+
+ if [ -f ${D}/usr/$(get_libdir)/perl5/vendor_perl/${perl_version}/${myarch}/auto/Tk/pTk/extralibs.ld ]; then
+ rm ${D}/usr/$(get_libdir)/perl5/vendor_perl/${perl_version}/${myarch}/auto/Tk/pTk/extralibs.ld
+ fi
+
+}