diff options
author | Michael Cummings <mcummings@gentoo.org> | 2007-03-30 21:00:29 +0000 |
---|---|---|
committer | Michael Cummings <mcummings@gentoo.org> | 2007-03-30 21:00:29 +0000 |
commit | fc592f01da999ec831e26029c09f7fc2dc3ff173 (patch) | |
tree | 542f64d217b1a461369e9f48aef9230f2b991be1 /dev-perl/Tk-TableMatrix/Tk-TableMatrix-1.2.3.ebuild | |
parent | Add v19, bug #94354, p.masked and will need rekeywording as this has major ch... (diff) | |
download | gentoo-2-fc592f01da999ec831e26029c09f7fc2dc3ff173.tar.gz gentoo-2-fc592f01da999ec831e26029c09f7fc2dc3ff173.tar.bz2 gentoo-2-fc592f01da999ec831e26029c09f7fc2dc3ff173.zip |
Bug 169294
(Portage version: 2.1.2.2)
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.ebuild | 19 |
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 + +} |