ports/73529: [PATCH] mbone/vic: Unbreak vic compilation on FreeBSD 5.x

Janos Mohacsi janos.mohacsi at niif.hu
Thu Nov 4 11:40:33 UTC 2004


>Number:         73529
>Category:       ports
>Synopsis:       [PATCH] mbone/vic: Unbreak vic compilation on FreeBSD 5.x
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 04 11:40:31 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Janos Mohacsi
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
NIIF/HUNGARNET
>Environment:
System: FreeBSD scone.ki.iif.hu 5.3-STABLE FreeBSD 5.3-STABLE #4: Mon Oct 18 13:14:24 CEST 2004
>Description:
Unbreak compilation problem of mbone/vic on FreeBSD 5.x.
Using older GCC is only a workaround.
Also fixes some formating problem in Makefile.

Port maintainer (fenner at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
Apply this diff.

>Fix:

--- vic-2.8.1.1.3_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/mbone/vic.orig/Makefile /usr/ports/mbone/vic/Makefile
--- /usr/ports/mbone/vic.orig/Makefile	Wed Sep 29 14:46:14 2004
+++ /usr/ports/mbone/vic/Makefile	Thu Nov  4 12:31:00 2004
@@ -16,14 +16,14 @@
 COMMENT=	MBONE video tool
 
 LIB_DEPENDS=	tk83.1:${PORTSDIR}/x11-toolkits/tk83
-BUILD_DEPENDS=  ${LOCALBASE}/lib/libuclmmbase.a:${PORTSDIR}/devel/uclmmbase
+BUILD_DEPENDS=	${LOCALBASE}/lib/libuclmmbase.a:${PORTSDIR}/devel/uclmmbase
 
 WRKSRC=		${WRKDIR}/vic-2.8ucl-1.1.3/vic
 
 USE_AUTOCONF_VER=	213
 USE_PERL5_BUILD=yes
 USE_X_PREFIX=	yes
-CONFIGURE_ARGS= -x-libraries=${PREFIX}/lib \
+CONFIGURE_ARGS=	-x-libraries=${PREFIX}/lib \
 		-x-includes=${PREFIX}/include \
 		-without-ucltcl \
 		-with-tcl=${LOCALBASE} \
@@ -35,7 +35,8 @@
 .include <bsd.port.pre.mk>
 
 .if ${OSVERSION} >= 502126
-BROKEN=		"Does not compile on FreeBSD >= 5.x"
+#workaround until UCL fix it...
+USE_GCC=	3.3
 .endif
 
 pre-patch:
--- vic-2.8.1.1.3_1.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list