Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Aug 2007 01:50:34 +0900 (JST)
From:      Koji Yokota <yokota@res.otaru-uc.ac.jp>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/115928: [PATCH]security/nss: doesn't build on amd64
Message-ID:  <20070829165034.DC83550822@desktop.yokota>
Resent-Message-ID: <200708291700.l7TH09kF060305@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         115928
>Category:       ports
>Synopsis:       [PATCH]security/nss: doesn't build on amd64
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 29 17:00:09 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Koji Yokota
>Release:        FreeBSD 6.2-RELEASE amd64
>Organization:
Otaru University of Commerce
>Environment:
System: FreeBSD hoge.hoge.otaru-uc.ac.jp 6.2-RELEASE FreeBSD 6.2-RELEASE #3: Thu Dec 28 16:17:05 JST 2006 hoge@hoge.hoge.otaru-uc.ac.jp:/usr/obj/usr/src/sys/SMP amd64
	
>Description:
On amd64, this port seems to require at least gcc >= 4.0 to build successfully.
	
>How-To-Repeat:
	
>Fix:
	



--- Makefile.patch begins here ---
--- Makefile.orig	Wed Aug 29 23:25:52 2007
+++ Makefile	Thu Aug 30 01:46:00 2007
@@ -39,6 +39,10 @@
 IGNORE=	core dumps on alpha during build
 .endif
 
+.if ${ARCH} == "amd64"
+USE_GCC=	4.0+
+.endif
+
 EXTERNALS=	CVS dbm security/nss/cmd/zlib nsprpub security/dbm
 EXTRACT_AFTER_ARGS=| ${TAR} -xf -	\
 	${EXTERNALS:C,^,--exclude ${DISTNAME}/mozilla/,}
--- Makefile.patch ends here ---

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070829165034.DC83550822>