[libev-perl] 05/07: Drop multiarch-checklib.patch. Makefile.PL has adapted to multiarch.

gregor herrmann gregoa at debian.org
Mon Sep 15 18:19:42 UTC 2014


This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository libev-perl.

commit 43d7c205b8f0384db2cd0b62ace4dffa0ef2117a
Author: gregor herrmann <gregoa at debian.org>
Date:   Mon Sep 15 20:15:28 2014 +0200

    Drop multiarch-checklib.patch. Makefile.PL has adapted to multiarch.
    
    Remove build dependency on libdevel-checklib-perl.
---
 debian/control                          |  3 +-
 debian/patches/multiarch-checklib.patch | 62 ---------------------------------
 debian/patches/series                   |  1 -
 3 files changed, 1 insertion(+), 65 deletions(-)

diff --git a/debian/control b/debian/control
index 1d693dc..0e50719 100644
--- a/debian/control
+++ b/debian/control
@@ -6,8 +6,7 @@ Section: perl
 Priority: optional
 Build-Depends: debhelper (>= 9.20120312),
                perl,
-               libcommon-sense-perl,
-               libdevel-checklib-perl
+               libcommon-sense-perl
 Standards-Version: 3.9.5
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libev-perl.git
 Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libev-perl.git
diff --git a/debian/patches/multiarch-checklib.patch b/debian/patches/multiarch-checklib.patch
deleted file mode 100644
index db1bf19..0000000
--- a/debian/patches/multiarch-checklib.patch
+++ /dev/null
@@ -1,62 +0,0 @@
-Description: Find headers with Devel::CheckLib instead of hardcoded paths
-Origin: vendor
-Bug-Debian: http://bugs.debian.org/718280
-Forwarded: no
-Author: gregor herrmann <gregoa at debian.org>
-Last-Update: 2013-08-07
-
---- a/Makefile.PL
-+++ b/Makefile.PL
-@@ -3,6 +3,7 @@ use 5.008002;
- use strict qw(vars subs);
- use Config;
- use ExtUtils::MakeMaker;
-+use Devel::CheckLib;
- 
- unless (-e "libev/ev_epoll.c") {
-    print <<EOF;
-@@ -129,7 +130,7 @@ the default.
- 
- EOF
- 
--my $can_epoll = -e "/usr/include/sys/epoll.h";
-+my $can_epoll = check_lib(header => "sys/epoll.h");
- $can_epoll = $ENV{EV_EPOLL} if exists $ENV{EV_EPOLL};
- $DEFINE .= " -DEV_USE_EPOLL=" . (0 + (prompt ("Enable epoll backend (y/n)?", $can_epoll ? "y" : "n") =~ /[yY]/));
- 
-@@ -157,7 +158,7 @@ OS X:    completely, utterly broken on a
- 
- EOF
- 
--my $can_kqueue = -e "/usr/include/sys/event.h";
-+my $can_kqueue = check_lib(header => "sys/event.h");
- $can_kqueue = $ENV{EV_KQUEUE} if exists $ENV{EV_KQUEUE};
- $DEFINE .= " -DEV_USE_KQUEUE=" . (0 + (prompt ("Enable kqueue backend (y/n)?", $can_kqueue ? "y" : "n") =~ /[yY]/));
- 
-@@ -208,7 +209,7 @@ idea to enable it, as kernel availabilit
- 
- EOF
- 
--my $can_inotify = -e "/usr/include/sys/inotify.h";
-+my $can_inotify = check_lib(header => "sys/inotify.h");
- $can_inotify = $ENV{EV_INOTIFY} if exists $ENV{EV_INOTIFY};
- $DEFINE .= " -DEV_USE_INOTIFY=" . (0 + (prompt ("Enable inotify support (y/n)?", $can_inotify ? "y" : "n") =~ /[yY]/));
- 
-@@ -225,7 +226,7 @@ have this wrapper.
- 
- EOF
- 
--my $can_eventfd = -e "/usr/include/sys/eventfd.h";
-+my $can_eventfd = check_lib(header => "sys/eventfd.h");
- $can_eventfd = $ENV{EV_EVENTFD} if exists $ENV{EV_EVENTFD};
- $DEFINE .= " -DEV_USE_EVENTFD=" . (0 + (prompt ("Enable linux eventfd support (y/n)?", $can_eventfd ? "y" : "n") =~ /[yY]/));
- 
-@@ -241,7 +242,7 @@ wrapper. Glibc 2.7 and later should have
- 
- EOF
- 
--my $can_signalfd = -e "/usr/include/sys/signalfd.h";
-+my $can_signalfd = check_lib(header => "sys/signalfd.h");
- $can_signalfd = $ENV{EV_SIGNALFD} if exists $ENV{EV_SIGNALFD};
- $DEFINE .= " -DEV_USE_SIGNALFD=" . (0 + (prompt ("Enable linux signalfd support (y/n)?", $can_signalfd ? "y" : "n") =~ /[yY]/));
- 
diff --git a/debian/patches/series b/debian/patches/series
index 78007ef..2475b92 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1 @@
 fix-spelling-error.patch
-multiarch-checklib.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libev-perl.git



More information about the Pkg-perl-cvs-commits mailing list