pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/35139: devel/nss noway to compile in 64bits
>Number: 35139
>Category: pkg
>Synopsis: devel/nss noway to compile in 64bits
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Nov 27 10:45:00 +0000 2006
>Originator: Gilles Dauphin
>Release: SunOS 5.10 i86pc
>Organization:
ENST
>Environment:
System: SunOS bi.enst.fr 5.10 Generic_118855-19 i86pc
>Description:
you can't compile in 64bit ABI because the choose of assembler file is
wrong. (i386 vs x86_64)
I think it is true for many system
>How-To-Repeat:
bmake
>Fix:
[root@redhot 1836] diff -u Makefile.orig Makefile
--- Makefile.orig Mon Nov 20 16:32:27 2006
+++ Makefile Mon Nov 27 10:54:55 2006
@@ -31,6 +31,9 @@
.if ${OPSYS} == "SunOS" && ${PKGSRC_COMPILER} == "gcc"
MAKEFLAGS+= NS_USE_GCC=YES
+. if ${MACHINE_ARCH} == "x86_64"
+MAKEFLAGS+= USE_64=1
+. endif
.endif
.if ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "DragonFly"
Home |
Main Index |
Thread Index |
Old Index