summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorsten Veller <tove@gentoo.org>2010-07-29 20:21:21 +0000
committerTorsten Veller <tove@gentoo.org>2010-07-29 20:21:21 +0000
commit9117f384798dda78b366035bd9d458ead70b4312 (patch)
tree37e64804acbf983b72e1efd2fb2f10b211903067 /dev-perl/Mouse
parentDo not enable X by default. Spotted by Wizzleby. (diff)
downloadgentoo-2-9117f384798dda78b366035bd9d458ead70b4312.tar.gz
gentoo-2-9117f384798dda78b366035bd9d458ead70b4312.tar.bz2
gentoo-2-9117f384798dda78b366035bd9d458ead70b4312.zip
Version bump. Use provided ppport.h
(Portage version: 2.2_rc67_p267/cvs/Linux x86_64)
Diffstat (limited to 'dev-perl/Mouse')
-rw-r--r--dev-perl/Mouse/ChangeLog8
-rw-r--r--dev-perl/Mouse/Mouse-0.64.ebuild29
-rw-r--r--dev-perl/Mouse/files/0.64-ppport.patch27
3 files changed, 63 insertions, 1 deletions
diff --git a/dev-perl/Mouse/ChangeLog b/dev-perl/Mouse/ChangeLog
index c077f0ffb45e..fe21355b653a 100644
--- a/dev-perl/Mouse/ChangeLog
+++ b/dev-perl/Mouse/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-perl/Mouse
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/Mouse/ChangeLog,v 1.9 2010/07/29 17:29:58 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/Mouse/ChangeLog,v 1.10 2010/07/29 20:21:21 tove Exp $
+
+*Mouse-0.64 (29 Jul 2010)
+
+ 29 Jul 2010; Torsten Veller <tove@gentoo.org> +files/0.64-ppport.patch,
+ +Mouse-0.64.ebuild:
+ Version bump. Use provided ppport.h
29 Jul 2010; Jeroen Roovers <jer@gentoo.org> Mouse-0.40.ebuild:
Stable for HPPA (bug #321235).
diff --git a/dev-perl/Mouse/Mouse-0.64.ebuild b/dev-perl/Mouse/Mouse-0.64.ebuild
new file mode 100644
index 000000000000..9e98dd784089
--- /dev/null
+++ b/dev-perl/Mouse/Mouse-0.64.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/Mouse/Mouse-0.64.ebuild,v 1.1 2010/07/29 20:21:21 tove Exp $
+
+EAPI=3
+
+MODULE_AUTHOR=GFUJI
+inherit eutils perl-module
+
+DESCRIPTION="Moose minus the antlers"
+SRC_URI+=" mirror://gentoo/Mouse-0.64-ppport.h.bz2"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="virtual/perl-XSLoader"
+DEPEND=">=virtual/perl-ExtUtils-ParseXS-2.21
+ test? ( dev-perl/Sub-Uplevel
+ >=dev-perl/Test-Exception-0.29
+ >=virtual/perl-Test-Simple-0.88 )"
+
+src_prepare() {
+ perl-module_src_prepare
+ epatch "${FILESDIR}"/0.64-ppport.patch
+ mv "${WORKDIR}"/Mouse-0.64-ppport.h "${S}"/ppport.h || die
+}
+
+SRC_TEST=do
diff --git a/dev-perl/Mouse/files/0.64-ppport.patch b/dev-perl/Mouse/files/0.64-ppport.patch
new file mode 100644
index 000000000000..0374f2fbf0de
--- /dev/null
+++ b/dev-perl/Mouse/files/0.64-ppport.patch
@@ -0,0 +1,27 @@
+--- Mouse-0.64/inc/Module/Install/XSUtil.pm
++++ Mouse-0.64/inc/Module/Install/XSUtil.pm
+@@ -116,24 +116,6 @@
+
+ my $filename = 'ppport.h';
+
+- $dppp_version ||= 3.19; # the more, the better
+- $self->configure_requires('Devel::PPPort' => $dppp_version);
+- $self->build_requires('Devel::PPPort' => $dppp_version);
+-
+- print "Writing $filename\n";
+-
+- my $e = do{
+- local $@;
+- eval qq{
+- use Devel::PPPort;
+- Devel::PPPort::WriteFile(q{$filename});
+- };
+- $@;
+- };
+- if($e){
+- print "Cannot create $filename because: $@\n";
+- }
+-
+ if(-e $filename){
+ $self->clean_files($filename);
+ $self->cc_define('-DUSE_PPPORT');