|
Lines 1-6
Link Here
|
| 1 |
--- Makefile.PL.orig Tue Mar 7 08:37:40 2006 |
1 |
--- Makefile.PL.orig 2007-07-29 11:14:02 UTC |
| 2 |
+++ Makefile.PL Mon Jun 5 23:31:13 2006 |
2 |
+++ Makefile.PL |
| 3 |
@@ -2,7 +2,11 @@ |
3 |
@@ -2,7 +2,11 @@ use 5.006; |
| 4 |
use ExtUtils::MakeMaker; |
4 |
use ExtUtils::MakeMaker; |
| 5 |
use Config; |
5 |
use Config; |
| 6 |
|
6 |
|
|
Lines 13-21
Link Here
|
| 13 |
|
13 |
|
| 14 |
# purge @ARGV of CCFLAGS |
14 |
# purge @ARGV of CCFLAGS |
| 15 |
|
15 |
|
| 16 |
--- Makefile.PL |
16 |
@@ -13,8 +17,9 @@ sub have_libevent { |
| 17 |
+++ Makefile.PL |
|
|
| 18 |
@@ -17,8 +17,9 @@ sub have_libevent { |
| 19 |
my $LIBS = $args{ LIBS } || "-levent"; |
17 |
my $LIBS = $args{ LIBS } || "-levent"; |
| 20 |
my $INC = $args{ INC } || "-I/usr/include"; |
18 |
my $INC = $args{ INC } || "-I/usr/include"; |
| 21 |
if ($^O eq "freebsd") { |
19 |
if ($^O eq "freebsd") { |
|
Lines 27-33
Link Here
|
| 27 |
} |
25 |
} |
| 28 |
elsif ($^O eq "darwin") { |
26 |
elsif ($^O eq "darwin") { |
| 29 |
$LIBS = "$LIBS -L/sw/lib -L/opt/local/lib"; |
27 |
$LIBS = "$LIBS -L/sw/lib -L/opt/local/lib"; |
| 30 |
@@ -59,8 +60,9 @@ sub get_defines { |
28 |
@@ -55,8 +60,9 @@ sub get_defines { |
| 31 |
my $LIBS = $args{ LIBS } || "-levent"; |
29 |
my $LIBS = $args{ LIBS } || "-levent"; |
| 32 |
my $INC = $args{ INC } || "-I/usr/include"; |
30 |
my $INC = $args{ INC } || "-I/usr/include"; |
| 33 |
if ($^O eq "freebsd") { |
31 |
if ($^O eq "freebsd") { |
|
Lines 39-45
Link Here
|
| 39 |
} |
37 |
} |
| 40 |
elsif ($^O eq "darwin") { |
38 |
elsif ($^O eq "darwin") { |
| 41 |
$LIBS = "-L/sw/lib -L/opt/local/lib $LIBS"; |
39 |
$LIBS = "-L/sw/lib -L/opt/local/lib $LIBS"; |
| 42 |
@@ -100,6 +102,12 @@ EOD |
40 |
@@ -96,6 +102,12 @@ EOD |
| 43 |
|
41 |
|
| 44 |
$args{LIBS} = '-levent -lm' if ! exists $args{LIBS}; |
42 |
$args{LIBS} = '-levent -lm' if ! exists $args{LIBS}; |
| 45 |
|
43 |
|
| 46 |
- |
|
|