Line 0
Link Here
|
|
|
1 |
--- Makefile.PL.orig 2006-03-10 06:50:23.000000000 -0500 |
2 |
+++ Makefile.PL 2009-03-17 14:46:12.000000000 -0500 |
3 |
@@ -290,16 +290,16 @@ |
4 |
my $CC_DEF; |
5 |
if ($^O eq 'linux') { |
6 |
$OS_DEF = '-DXML_LINUX'; |
7 |
- } elsif($^O eq 'darwin') { |
8 |
- $OS_DEF = '-DXML_MACOSX'; |
9 |
+ } elsif($^O eq 'freebsd') { |
10 |
+ $OS_DEF = '-DXML_FREEBSD'; |
11 |
} else { |
12 |
die 'unsupported operating system'; |
13 |
} |
14 |
- if ($CXX =~ /g\+\+/) { |
15 |
+ #if ($CXX =~ /g\+\+/) { |
16 |
$CC_DEF = '-DXML_GCC'; |
17 |
- } else { |
18 |
- die 'unsupported compiler'; |
19 |
- } |
20 |
+ #} else { |
21 |
+ #die 'unsupported compiler'; |
22 |
+ #} |
23 |
my $SWIG_ARGS = qq[-Wall $OS_DEF $CC_DEF -DXERCES_OLD -DXERCES_VERSION="$XERCES_PERL_VERSION" \$(INC) -perl5 -c++ -shadow]; |
24 |
|
25 |
my $MAKE = ' \$(MAKE) -C Handler static'; |