Fix wxwidgets handling for bug #151417.
authorRyan Hill <rhill@gentoo.org>
Sun, 22 Apr 2007 21:58:30 +0000 (21:58 +0000)
committerRyan Hill <rhill@gentoo.org>
Sun, 22 Apr 2007 21:58:30 +0000 (21:58 +0000)
Package-Manager: portage-2.1.2.4

dev-perl/Alien-wxWidgets/Alien-wxWidgets-0.20-r1.ebuild
dev-perl/Alien-wxWidgets/Alien-wxWidgets-0.21.ebuild
dev-perl/Alien-wxWidgets/Alien-wxWidgets-0.30.ebuild
dev-perl/Alien-wxWidgets/ChangeLog
dev-perl/wxperl/ChangeLog
dev-perl/wxperl/wxperl-0.27.ebuild
dev-perl/wxperl/wxperl-0.57.ebuild
dev-perl/wxperl/wxperl-0.69.ebuild

index 875afd26588b3a3285f466ce5f12400dcbfa19c9..95415c7bb860a548348d23ce71697d71a3b9a3f4 100644 (file)
@@ -1,8 +1,8 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/Alien-wxWidgets/Alien-wxWidgets-0.20-r1.ebuild,v 1.1 2006/08/20 15:48:41 yuval Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/Alien-wxWidgets/Alien-wxWidgets-0.20-r1.ebuild,v 1.2 2007/04/22 21:57:43 dirtyepic Exp $
 
-inherit perl-module
+inherit perl-module wxwidgets
 
 MY_P=Alien-wxWidgets-${PV}
 S=${WORKDIR}/${MY_P}
@@ -18,13 +18,22 @@ IUSE=""
 SRC_TEST="do"
 
 DEPEND="dev-lang/perl
-       >=x11-libs/wxGTK-2.6.2-r1
+       =x11-libs/wxGTK-2.6*
        >=dev-perl/module-build-0.26
        >=dev-perl/Module-Pluggable-3.1-r1"
 
 perl-module_src_prep() {
        perlinfo
+
+       WX_GTK_VER="2.6"
+
+       if use unicode; then
+               need-wxwidgets unicode
+       else
+               need-wxwidgets gtk2
+       fi
+
        echo no | perl Build.PL --installdirs=vendor \
-                           --destdir=${D} \
-                           --libdoc= || die "perl Build.PL has failed!"
+               --destdir=${D} \
+               --libdoc= || die "perl Build.PL has failed!"
 }
index bb4049f94fb83694712970f0ee28357b27de19f0..ab3f699b76c265877889b00acb1f56eeac588202 100644 (file)
@@ -1,8 +1,8 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/Alien-wxWidgets/Alien-wxWidgets-0.21.ebuild,v 1.3 2006/10/15 01:23:10 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/Alien-wxWidgets/Alien-wxWidgets-0.21.ebuild,v 1.4 2007/04/22 21:57:43 dirtyepic Exp $
 
-inherit perl-module
+inherit perl-module wxwidgets
 
 MY_P=Alien-wxWidgets-${PV}
 S=${WORKDIR}/${MY_P}
@@ -13,18 +13,27 @@ HOMEPAGE="http://search.cpan.org/~mbarbon/${P}/"
 SLOT="0"
 LICENSE="|| ( Artistic GPL-2 )"
 KEYWORDS="amd64 ~ia64 ~x86"
-IUSE=""
+IUSE="unicode"
 
 SRC_TEST="do"
 
 DEPEND="dev-lang/perl
-       x11-libs/wxGTK
+       =x11-libs/wxGTK-2.6*
        >=dev-perl/module-build-0.26
        >=dev-perl/Module-Pluggable-3.1-r1"
 
 perl-module_src_prep() {
        perlinfo
+
+       WX_GTK_VER="2.6"
+
+       if use unicode; then
+               need-wxwidgets unicode
+       else
+               need-wxwidgets gtk2
+       fi
+
        echo no | perl Build.PL --installdirs=vendor \
-                           --destdir=${D} \
-                           --libdoc= || die "perl Build.PL has failed!"
+               --destdir=${D} \
+               --libdoc= || die "perl Build.PL has failed!"
 }
index ad9e150ed843d65854c3fd599b9c28f2d57990bd..a3d472df9ac443707b5146d70fd179f7b2edb244 100644 (file)
@@ -1,8 +1,8 @@
 # Copyright 1999-2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/Alien-wxWidgets/Alien-wxWidgets-0.30.ebuild,v 1.1 2007/03/19 14:52:29 yuval Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/Alien-wxWidgets/Alien-wxWidgets-0.30.ebuild,v 1.2 2007/04/22 21:57:43 dirtyepic Exp $
 
-inherit perl-module
+inherit perl-module wxwidgets
 
 MY_P=Alien-wxWidgets-${PV}
 S=${WORKDIR}/${MY_P}
@@ -13,18 +13,27 @@ HOMEPAGE="http://search.cpan.org/~mbarbon/${P}/"
 SLOT="0"
 LICENSE="|| ( Artistic GPL-2 )"
 KEYWORDS="~amd64 ~ia64 ~x86"
-IUSE=""
+IUSE="unicode"
 
 SRC_TEST="do"
 
 DEPEND="dev-lang/perl
-       x11-libs/wxGTK
+       =x11-libs/wxGTK-2.6*
        >=dev-perl/module-build-0.26
        >=dev-perl/Module-Pluggable-3.1-r1"
 
 perl-module_src_prep() {
        perlinfo
+
+       WX_GTK_VER="2.6"
+
+       if use unicode; then
+               need-wxwidgets unicode
+       else
+               need-wxwidgets gtk2
+       fi
+
        echo no | perl Build.PL --installdirs=vendor \
-                           --destdir=${D} \
-                           --libdoc= || die "perl Build.PL has failed!"
+               --destdir=${D} \
+               --libdoc= || die "perl Build.PL has failed!"
 }
index 0f54a3dff2422ffe175d813d2a211ae55164addc..d18c71564b9fd648a9d1ea24d4b3207d5eec1931 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for dev-perl/Alien-wxWidgets
 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/Alien-wxWidgets/ChangeLog,v 1.8 2007/03/19 14:52:29 yuval Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/Alien-wxWidgets/ChangeLog,v 1.9 2007/04/22 21:57:43 dirtyepic Exp $
+
+  22 Apr 2007; Ryan Hill <dirtyepic@gentoo.org>
+  Alien-wxWidgets-0.20-r1.ebuild, Alien-wxWidgets-0.21.ebuild,
+  Alien-wxWidgets-0.30.ebuild:
+  Fix wxwidgets handling for bug #151417.
 
 *Alien-wxWidgets-0.30 (19 Mar 2007)
 
index a5b97149d0c53bbb40641c626b8dc00ea783cef0..66195598b21f5d0a417e9f30e312b9a585391a78 100644 (file)
@@ -1,6 +1,10 @@
 # ChangeLog for dev-perl/wxperl
 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/wxperl/ChangeLog,v 1.15 2007/04/02 14:32:03 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/wxperl/ChangeLog,v 1.16 2007/04/22 21:58:30 dirtyepic Exp $
+
+  22 Apr 2007; Ryan Hill <dirtyepic@gentoo.org> wxperl-0.27.ebuild,
+  wxperl-0.57.ebuild, wxperl-0.69.ebuild:
+  Fix wxwidgets handling for bug #151417.
 
   02 Apr 2007; Raúl Porcel <armin76@gentoo.org> wxperl-0.69.ebuild:
   Add ~ia64 wrt bug 144122
index daa537fbd4302f90d96b177d6bcad958a9d119f3..113c10ef1c6519e35a0f1215abd26a9c9299825a 100644 (file)
@@ -1,8 +1,8 @@
 # Copyright 1999-2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/wxperl/wxperl-0.27.ebuild,v 1.7 2007/01/28 03:06:39 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/wxperl/wxperl-0.27.ebuild,v 1.8 2007/04/22 21:58:30 dirtyepic Exp $
 
-inherit perl-module eutils wxwidgets
+inherit perl-module wxwidgets
 
 MY_P="Wx-${PV}"
 S=${WORKDIR}/${MY_P}
index e6a40fcef52748b193bc2838e9d957a50b601d12..d862b1e3dd5492040a13b090673a1fbaa0e02731 100644 (file)
@@ -1,8 +1,8 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/wxperl/wxperl-0.57.ebuild,v 1.2 2006/10/20 18:06:11 mcummings Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/wxperl/wxperl-0.57.ebuild,v 1.3 2007/04/22 21:58:30 dirtyepic Exp $
 
-inherit perl-module eutils wxwidgets
+inherit perl-module
 
 MY_P="Wx-${PV}"
 S=${WORKDIR}/${MY_P}
@@ -13,19 +13,9 @@ SRC_URI="mirror://cpan/authors/id/M/MB/MBARBON/${MY_P}.tar.gz"
 LICENSE="|| ( Artistic GPL-2 )"
 SLOT="0"
 KEYWORDS="amd64 ~x86"
-IUSE="unicode"
+IUSE=""
 
-DEPEND=">=x11-libs/wxGTK-2.6.2-r1
+DEPEND="=x11-libs/wxGTK-2.6*
        dev-perl/Alien-wxWidgets
        >=dev-lang/perl-5.8.4
        >=virtual/perl-File-Spec-0.82"
-
-src_compile() {
-       WX_GTK_VER="2.6"
-       if use unicode; then
-               need-wxwidgets unicode
-       else
-               need-wxwidgets gtk2
-       fi
-       perl-module_src_compile
-}
index 8f86a64f584a84b7e3c62eb2542f50388f416da4..772428df99e9facaa12f13acf8d5292e304d0bb4 100644 (file)
@@ -1,8 +1,8 @@
 # Copyright 1999-2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/wxperl/wxperl-0.69.ebuild,v 1.2 2007/04/02 14:32:03 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/wxperl/wxperl-0.69.ebuild,v 1.3 2007/04/22 21:58:30 dirtyepic Exp $
 
-inherit perl-module eutils wxwidgets
+inherit perl-module
 
 MY_P="Wx-${PV}"
 S=${WORKDIR}/${MY_P}
@@ -13,22 +13,10 @@ SRC_URI="mirror://cpan/authors/id/M/MB/MBARBON/${MY_P}.tar.gz"
 LICENSE="|| ( Artistic GPL-2 )"
 SLOT="0"
 KEYWORDS="~amd64 ~ia64 ~x86"
-IUSE="unicode"
+IUSE=""
 
-SRC_TEST="do"
-
-DEPEND=">=x11-libs/wxGTK-2.6.2-r1
+DEPEND="=x11-libs/wxGTK-2.6*
        >=dev-perl/Alien-wxWidgets-0.25
        >=dev-lang/perl-5.8.4
        virtual/perl-Test-Harness
        >=virtual/perl-File-Spec-0.82"
-
-src_compile() {
-       WX_GTK_VER="2.6"
-       if use unicode; then
-               need-wxwidgets unicode
-       else
-               need-wxwidgets gtk2
-       fi
-       perl-module_src_compile
-}