Subject: pkg/13714: libtool and bsd.prefs.mk fixes for sparc64
To: None <gnats-bugs@gnats.netbsd.org>
From: None <martti.kuparinen@iki.fi>
List: netbsd-bugs
Date: 08/14/2001 12:32:33
>Number:         13714
>Category:       pkg
>Synopsis:       libtool and bsd.prefs.mk fixes for sparc64
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 14 03:30:02 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Martti Kuparinen
>Release:        1.5X
>Organization:
>Environment:
	
System: NetBSD nevada 1.5X NetBSD 1.5X (AXIL) #0: Mon Aug 13 13:18:48 CEST 2001 root@nevada:/usr/src/sys/arch/sparc64/compile/AXIL sparc64
Architecture: sparc64
Machine: sparc64
>Description:

Please apply the following patch to fix libtool build problems
in sparc64.

>How-To-Repeat:
>Fix:

Index: devel/libtool/Makefile.common
===================================================================
RCS file: /cvsroot/pkgsrc/devel/libtool/Makefile.common,v
retrieving revision 1.12
diff -u -r1.12 Makefile.common
--- Makefile.common	2001/06/20 08:10:49	1.12
+++ Makefile.common	2001/08/14 10:27:12
@@ -3,7 +3,7 @@
 
 DISTNAME=	libtool-ml-20010614
 PKGPFX=		${DISTNAME:C/ml-/1.4./}
-PKGREV=		nb2
+PKGREV=		nb3
 WRKSRC=		${WRKDIR}/libtool-ml
 CATEGORIES=	devel pkgtools
 MASTER_SITES=	${MASTER_SITE_LOCAL}
Index: devel/libtool/distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/devel/libtool/distinfo,v
retrieving revision 1.8
diff -u -r1.8 distinfo
--- distinfo	2001/07/06 00:55:10	1.8
+++ distinfo	2001/08/14 10:27:12
@@ -5,7 +5,7 @@
 SHA1 (patch-ac-new) = 61196acaa12edee0b1209b2ba7c6414453bfa438
 SHA1 (patch-aa) = 4789e2ec97fbb987ce74992c5e78e918f2156b49
 SHA1 (patch-ab) = 61419b5d6f69c64e4c21e628e1230ee8d17a63dd
-SHA1 (patch-ac) = 61196acaa12edee0b1209b2ba7c6414453bfa438
+SHA1 (patch-ac) = 43e3f87fdc784208524ef9a5236b1c02d4471e04
 SHA1 (patch-ad) = 6aab76688d0f55648e35adc45a3492ba9c87acfb
 SHA1 (patch-ag) = 95ffb845d931e5ca32cbe73759baf725d435da10
 SHA1 (patch-ao) = 4e115e9d6ddde556205dc786cde471bfee5a5e9e
Index: devel/libtool/patches/patch-ac
===================================================================
RCS file: /cvsroot/pkgsrc/devel/libtool/patches/patch-ac,v
retrieving revision 1.8
diff -u -r1.8 patch-ac
--- patch-ac	2001/06/14 14:55:47	1.8
+++ patch-ac	2001/08/14 10:27:12
@@ -1,7 +1,7 @@
 $NetBSD: patch-ac,v 1.8 2001/06/14 14:55:47 skrll Exp $
 
---- config.guess.orig	Thu Apr 12 05:05:02 2001
-+++ config.guess
+--- config.guess.orig	Thu Apr 12 06:05:02 2001
++++ config.guess	Tue Aug 14 11:55:46 2001
 @@ -135,41 +135,24 @@
  	# compatibility and a consistent mechanism for selecting the
  	# object file format.
@@ -22,7 +22,7 @@
 + 	    arm26:*)			UNAME_MACHINE_ARCH=armv2;;
 + 	    arm32:*)			UNAME_MACHINE_ARCH=arm;;
 + 	    mips:*)			UNAME_MACHINE_ARCH=mipsel;;
-+ 	    i386:*|m68k:*|ns32k:*|sparc:*|vax:*)
++ 	    i386:*|m68k:*|ns32k:*|sparc:*|sparc64:*|vax:*)
 + 		# The Operating System including object format.
 + 		if echo __ELF__ | $CC_FOR_BUILD -E - | grep -q __ELF__; then
 + 		    UNAME_OBJFORMAT=
Index: mk/bsd.prefs.mk
===================================================================
RCS file: /cvsroot/pkgsrc/mk/bsd.prefs.mk,v
retrieving revision 1.56
diff -u -r1.56 bsd.prefs.mk
--- bsd.prefs.mk	2001/07/26 16:13:52	1.56
+++ bsd.prefs.mk	2001/08/14 10:27:13
@@ -44,6 +44,7 @@
 GNU_ARCH.ns32k?=	ns32k
 GNU_ARCH.powerpc?=	powerpc
 GNU_ARCH.sparc?=	sparc
+GNU_ARCH.sparc64?=	sparc64
 GNU_ARCH.vax?=		vax
 MACHINE_GNU_ARCH?=	${GNU_ARCH.${MACHINE_ARCH}}
 
>Release-Note:
>Audit-Trail:
>Unformatted: