View | Details | Raw Unified | Return to bug 133470
Collapse All | Expand All

(-)p5-XML-Xerces/Makefile (-1 / +4 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME=	XML-Xerces
8
PORTNAME=	XML-Xerces
9
PORTVERSION=	2.7.0
9
PORTVERSION=	2.7.0
10
PORTREVISION?=	1
10
CATEGORIES=	textproc perl5
11
CATEGORIES=	textproc perl5
11
MASTER_SITES=	CPAN
12
MASTER_SITES=	CPAN
12
PKGNAMEPREFIX=	p5-
13
PKGNAMEPREFIX=	p5-
Lines 17-27 Link Here
17
18
18
LIB_DEPENDS=	xerces-c.27:${PORTSDIR}/textproc/xerces-c2
19
LIB_DEPENDS=	xerces-c.27:${PORTSDIR}/textproc/xerces-c2
19
20
20
BROKEN=		does not compile
21
BUILD_DEPENDS=	swig:${PORTSDIR}/devel/swig13
21
22
22
USE_GMAKE=	YES
23
USE_GMAKE=	YES
23
PERL_CONFIGURE=	YES
24
PERL_CONFIGURE=	YES
24
CONFIGURE_ENV+=	XERCES_LIB="${LOCALBASE}/lib" \
25
CONFIGURE_ENV+=	XERCES_LIB="${LOCALBASE}/lib" \
25
		XERCES_INCLUDE="${LOCALBASE}/include" \
26
		XERCES_INCLUDE="${LOCALBASE}/include" \
27
		XERCES_DEVEL="YES" \
28
		CXX="g++" \
26
29
27
.include <bsd.port.mk>
30
.include <bsd.port.mk>
(-)p5-XML-Xerces/files/patch-Makefile.PL (+25 lines)
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';

Return to bug 133470