ports/120606: japanese/Wnn7-lib: USE_GCC=3.4 for CURRENT

NAKAJI Hiroyuki nakaji at jp.freebsd.org
Wed Feb 13 06:10:02 UTC 2008


>Number:         120606
>Category:       ports
>Synopsis:       japanese/Wnn7-lib: USE_GCC=3.4 for CURRENT
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 13 06:10:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     NAKAJI Hiroyuki
>Release:        FreeBSD 8.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD roddy.4407.kankyo-u.ac.jp 8.0-CURRENT FreeBSD 8.0-CURRENT #118: Tue Jan 29 12:37:41 JST 2008 root at roddy.4407.kankyo-u.ac.jp:/usr/obj/usr/src/sys/RODDY i386


	
>Description:
	To remove BROKEN of "${OSVERSION} >= 700042 system", USE_GCC=3.4
	is enough. It is also necessary to pass "CC=${CC}" at do-build
	stage.

>How-To-Repeat:

>Fix:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/japanese/Wnn7-lib/Makefile,v
retrieving revision 1.39
diff -u -r1.39 Makefile
--- Makefile	27 May 2007 02:51:01 -0000	1.39
+++ Makefile	13 Feb 2008 04:16:49 -0000
@@ -7,6 +7,7 @@
 
 PORTNAME=	Wnn7-lib
 PORTVERSION=	2001.10.17
+PORTREVISION=	1
 CATEGORIES=	japanese
 MASTER_SITES=	ftp://ftp.omronsoft.co.jp/pub/Wnn7/sdk_source/
 DISTNAME=	Wnn7SDK
@@ -25,7 +26,7 @@
 .include <bsd.port.pre.mk>
 
 .if ${OSVERSION} >= 700042
-BROKEN=		Broken with gcc 4.2
+USE_GCC=	3.4
 .endif
 
 post-patch:
@@ -36,7 +37,7 @@
 
 # Warning: we cannot use USE_IMAKE.
 do-build:
-	( cd ${WRKSRC} ; make World -f Makefile.ini )
+	( cd ${WRKSRC} ; ${MAKE} World -f Makefile.ini CC=${CC} )
 
 post-install:
 	@${MKDIR} ${PREFIX}/include/wnn7/wnn



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



More information about the freebsd-ports-bugs mailing list