ports/115928: [PATCH]security/nss: doesn't build on amd64

Koji Yokota yokota at res.otaru-uc.ac.jp
Wed Aug 29 17:00:10 UTC 2007


>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 at 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:



More information about the freebsd-ports-bugs mailing list