misc/78973: Update port: textproc/xalan-c Wasn't building on 5.3

Douglas Thrift douglas at douglasthrift.net
Thu Mar 17 17:50:03 PST 2005


>Number:         78973
>Category:       misc
>Synopsis:       Update port: textproc/xalan-c Wasn't building on 5.3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 18 01:50:02 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Douglas Thrift
>Release:        5.3-RELEASE
>Organization:
>Environment:
FreeBSD daemon.douglasthrift.net 5.3-RELEASE-p2 FreeBSD 5.3-RELEASE-p2 #0: Tue Dec 28 22:10:37 PST 2004     douglas at daemon.douglasthrift.net:/usr/obj/usr/src/sys/DAEMONIC  i386
>Description:
Xalan-C++ has code that will not compile with GCC 3.4, this patch makes the build use GCC 3.2 on versions of FreeBSD >= 5.3.
>How-To-Repeat:
      
>Fix:
diff -ruN /usr/ports/textproc/xalan-c/Makefile ./xalan-c/Makefile
--- /usr/ports/textproc/xalan-c/Makefile	Tue Mar  8 02:18:49 2005
+++ ./xalan-c/Makefile	Thu Mar 10 23:18:10 2005
@@ -57,6 +57,10 @@
 MAKE_ENV+=		XALANCROOT=${WRKSRC}
 MAKE_ENV+=		XERCESCROOT=${XERCESCROOT}
 
+.if ( ${OSVERSION} >= 503001 )
+USE_GCC=		3.2
+.endif
+
 .if ( ${OSVERSION} < 500000 )
 EXTRA_CFLAGS=		-ftemplate-depth-20
 .endif

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list