FreeBSD Bugzilla – Attachment 95136 Details for
Bug 133470
[MAINTAINER UPDATE]textproc/p5-XML-Xerces does not build with perl 5.8.9
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.73 KB, created by
Ken Menzel
on 2009-04-07 20:40:06 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Ken Menzel
Created:
2009-04-07 20:40:06 UTC
Size:
1.73 KB
patch
obsolete
>diff -ruN p5-XML-Xerces.orig/Makefile p5-XML-Xerces/Makefile >--- p5-XML-Xerces.orig/Makefile 2009-03-17 15:15:36.000000000 -0500 >+++ p5-XML-Xerces/Makefile 2009-03-17 15:20:26.000000000 -0500 >@@ -7,6 +7,7 @@ > > PORTNAME= XML-Xerces > PORTVERSION= 2.7.0 >+PORTREVISION?= 1 > CATEGORIES= textproc perl5 > MASTER_SITES= CPAN > PKGNAMEPREFIX= p5- >@@ -17,11 +18,13 @@ > > LIB_DEPENDS= xerces-c.27:${PORTSDIR}/textproc/xerces-c2 > >-BROKEN= does not compile >+BUILD_DEPENDS= swig:${PORTSDIR}/devel/swig13 > > USE_GMAKE= YES > PERL_CONFIGURE= YES > CONFIGURE_ENV+= XERCES_LIB="${LOCALBASE}/lib" \ > XERCES_INCLUDE="${LOCALBASE}/include" \ >+ XERCES_DEVEL="YES" \ >+ CXX="g++" \ > > .include <bsd.port.mk> >diff -ruN p5-XML-Xerces.orig/files/patch-Makefile.PL p5-XML-Xerces/files/patch-Makefile.PL >--- p5-XML-Xerces.orig/files/patch-Makefile.PL 1969-12-31 19:00:00.000000000 -0500 >+++ p5-XML-Xerces/files/patch-Makefile.PL 2009-03-17 15:21:03.000000000 -0500 >@@ -0,0 +1,25 @@ >+--- Makefile.PL.orig 2006-03-10 06:50:23.000000000 -0500 >++++ Makefile.PL 2009-03-17 14:46:12.000000000 -0500 >+@@ -290,16 +290,16 @@ >+ my $CC_DEF; >+ if ($^O eq 'linux') { >+ $OS_DEF = '-DXML_LINUX'; >+- } elsif($^O eq 'darwin') { >+- $OS_DEF = '-DXML_MACOSX'; >++ } elsif($^O eq 'freebsd') { >++ $OS_DEF = '-DXML_FREEBSD'; >+ } else { >+ die 'unsupported operating system'; >+ } >+- if ($CXX =~ /g\+\+/) { >++ #if ($CXX =~ /g\+\+/) { >+ $CC_DEF = '-DXML_GCC'; >+- } else { >+- die 'unsupported compiler'; >+- } >++ #} else { >++ #die 'unsupported compiler'; >++ #} >+ my $SWIG_ARGS = qq[-Wall $OS_DEF $CC_DEF -DXERCES_OLD -DXERCES_VERSION="$XERCES_PERL_VERSION" \$(INC) -perl5 -c++ -shadow]; >+ >+ my $MAKE = ' \$(MAKE) -C Handler static';
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 133470
: 95136