diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-06-23 08:14:30 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-06-23 08:15:13 +0200 |
commit | fab6c44b2ad6ba684037919dfdf3ad4bc1ecf6e7 (patch) | |
tree | 3f3f3fb48f06f964ddfa6379d52b9b053229dc29 /package/p5-ev/patches/patch-Makefile_PL | |
parent | 8517f7c9a10027ea872b7ab54d7aec5d47b1be49 (diff) |
add a development package for logitechmediaserver
Diffstat (limited to 'package/p5-ev/patches/patch-Makefile_PL')
-rw-r--r-- | package/p5-ev/patches/patch-Makefile_PL | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/package/p5-ev/patches/patch-Makefile_PL b/package/p5-ev/patches/patch-Makefile_PL new file mode 100644 index 000000000..040144fac --- /dev/null +++ b/package/p5-ev/patches/patch-Makefile_PL @@ -0,0 +1,74 @@ +--- EV-4.17.orig/Makefile.PL 2013-08-01 04:08:54.000000000 +0200 ++++ EV-4.17/Makefile.PL 2014-06-17 22:04:03.000000000 +0200 +@@ -77,7 +77,7 @@ OS, via the next question. I highly reco + + EOF + +-if (prompt ("Enable select backend (y/n)?", "y") =~ /[yY]/) { ++if (prompt ("Enable select backend (y/n)?", "n") =~ /[yY]/) { + $DEFINE .= " -DEV_USE_SELECT=1"; + + print <<EOF; +@@ -112,7 +112,7 @@ the default here unless you run into com + + EOF + +-$DEFINE .= " -DEV_USE_POLL=" . (0 + (prompt ("Enable poll backend (y/n)?", (-e "/usr/include/poll.h") ? "y" : "n") =~ /[yY]/)); ++$DEFINE .= " -DEV_USE_POLL=" . (0 + (prompt ("Enable poll backend (y/n)?", "n") =~ /[yY]/)); + + print <<EOF; + +@@ -131,7 +131,7 @@ EOF + + my $can_epoll = -e "/usr/include/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]/)); ++$DEFINE .= " -DEV_USE_EPOLL=" . (0 + (prompt ("Enable epoll backend (y/n)?", "y") =~ /[yY]/)); + + print <<EOF; + +@@ -159,7 +159,7 @@ EOF + + my $can_kqueue = -e "/usr/include/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]/)); ++$DEFINE .= " -DEV_USE_KQUEUE=" . (0 + (prompt ("Enable kqueue backend (y/n)?", "n") =~ /[yY]/)); + + print <<EOF; + +@@ -172,7 +172,7 @@ at runtime, with a safe fallback to othe + + EOF + +-$DEFINE .= " -DEV_USE_PORT=" . (0 + (prompt ("Enable event port backend (y/n)?", (-e "/usr/include/sys/port.h") ? "y" : "n") =~ /[yY]/)); ++$DEFINE .= " -DEV_USE_PORT=" . (0 + (prompt ("Enable event port backend (y/n)?", "n") =~ /[yY]/)); + + print <<EOF; + +@@ -210,7 +210,7 @@ EOF + + my $can_inotify = -e "/usr/include/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]/)); ++$DEFINE .= " -DEV_USE_INOTIFY=" . (0 + (prompt ("Enable inotify support (y/n)?", "y") =~ /[yY]/)); + + print <<EOF; + +@@ -227,7 +227,7 @@ EOF + + my $can_eventfd = -e "/usr/include/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]/)); ++$DEFINE .= " -DEV_USE_EVENTFD=" . (0 + (prompt ("Enable linux eventfd support (y/n)?", "y") =~ /[yY]/)); + + print <<EOF; + +@@ -243,7 +243,7 @@ EOF + + my $can_signalfd = -e "/usr/include/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]/)); ++$DEFINE .= " -DEV_USE_SIGNALFD=" . (0 + (prompt ("Enable linux signalfd support (y/n)?", "y") =~ /[yY]/)); + + print <<EOF; + |