From owner-freebsd-current@FreeBSD.ORG Sun Feb 24 18:04:37 2008 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9475E16A400; Sun, 24 Feb 2008 18:04:37 +0000 (UTC) (envelope-from obrien@NUXI.org) Received: from dragon.nuxi.org (trang.nuxi.org [74.95.12.85]) by mx1.freebsd.org (Postfix) with ESMTP id 5171513C44B; Sun, 24 Feb 2008 18:04:37 +0000 (UTC) (envelope-from obrien@NUXI.org) Received: from dragon.nuxi.org (obrien@localhost [127.0.0.1]) by dragon.nuxi.org (8.14.1/8.14.1) with ESMTP id m1OI4XCb022648; Sun, 24 Feb 2008 10:04:33 -0800 (PST) (envelope-from obrien@dragon.nuxi.org) Received: (from obrien@localhost) by dragon.nuxi.org (8.14.2/8.14.1/Submit) id m1OI4XL1022647; Sun, 24 Feb 2008 10:04:33 -0800 (PST) (envelope-from obrien) Date: Sun, 24 Feb 2008 10:04:33 -0800 From: "David O'Brien" To: Ruslan Ermilov Message-ID: <20080224180433.GA21162@dragon.NUXI.org> Mail-Followup-To: obrien@freebsd.org, Ruslan Ermilov , Dag-Erling Sm??rgrav , Kai Wang , Joseph Koshy , current@FreeBSD.org References: <20080221152549.GB21518@team.vega.ru> <20080221173150.GA93693@dragon.NUXI.org> <20080222070728.GA56282@team.vega.ru> <20080222091642.GB57428@team.vega.ru> <864pc1s1wa.fsf@ds4.des.no> <20080222105239.GC94607@team.vega.ru> <86abltqjiz.fsf@ds4.des.no> <20080222124617.GA16580@team.vega.ru> <86wsoxp2ob.fsf@ds4.des.no> <20080223201808.GB65540@team.vega.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080223201808.GB65540@team.vega.ru> X-Operating-System: FreeBSD 8.0-CURRENT User-Agent: Mutt/1.5.16 (2007-06-09) Cc: Dag-Erling Sm??rgrav , current@FreeBSD.org, Kai Wang , Joseph Koshy Subject: Re: [HEADS UP] ar(1) front-end committed. (notes for cross compile) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: obrien@FreeBSD.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Feb 2008 18:04:37 -0000 On Sat, Feb 23, 2008 at 11:18:08PM +0300, Ruslan Ermilov wrote: > now bootstrap BSD ar on systems >700044, and that we call > GNU ar/ranlib with the "g" prefix instead of "gnu-". Why are you going against my preferences for "gnu-" - if I liked "g" I would have done it that way in my patch. Its seems those that have expressed an opinion want to switch to the new 'ar' ASAP. So why not this patch? (BTW, what is the sort order in Makefile.inc1? BOOTSTRAPPING date and alphabetical?) Index: Makefile.inc1 =================================================================== RCS file: /home/ncvs/src/Makefile.inc1,v retrieving revision 1.593 diff -u -p -r1.593 Makefile.inc1 --- Makefile.inc1 21 Jan 2008 18:44:54 -0000 1.593 +++ Makefile.inc1 24 Feb 2008 18:03:35 -0000 @@ -876,8 +876,13 @@ _gensnmptree= usr.sbin/bsnmpd/gensnmptre _crunchgen= usr.sbin/crunch/crunchgen .endif +.if ${BOOTSTRAPPING} >= 700044 +_ar= usr.bin/ar +.endif + bootstrap-tools: .for _tool in \ + ${_ar} \ ${_strfile} \ ${_gperf} \ ${_groff} \ Index: usr.bin/ar/Makefile =================================================================== RCS file: /home/ncvs/src/usr.bin/ar/Makefile,v retrieving revision 1.19 diff -u -p -r1.19 Makefile --- usr.bin/ar/Makefile 22 Feb 2008 06:53:52 -0000 1.19 +++ usr.bin/ar/Makefile 24 Feb 2008 17:53:29 -0000 @@ -1,10 +1,6 @@ # $FreeBSD: src/usr.bin/ar/Makefile,v 1.19 2008/02/22 06:53:52 obrien Exp $ -.if defined(WITH_BSDAR) PROG= ar -.else -PROG= bsdar -.endif SRCS= ar.c read.c util.c write.c WARNS?= 5 @@ -12,17 +8,8 @@ WARNS?= 5 DPADD= ${LIBARCHIVE} ${LIBBZ2} ${LIBZ} ${LIBELF} LDADD= -larchive -lbz2 -lz -lelf -.if defined(WITH_BSDAR) NO_SHARED?= yes LINKS= ${BINDIR}/ar ${BINDIR}/ranlib -MLINKS= ar ranlib -.else -LINKS= ${BINDIR}/bsdar ${BINDIR}/bsdranlib -MLINKS= bsdar.1 bsdranlib.1 - -CLEANFILES+= bsdar.1 -bsdar.1: ar.1 - ln -sf ${.ALLSRC} ${.TARGET} -.endif +MLINKS= ar.1 ranlib.1 .include Index: gnu/usr.bin/binutils/ar/Makefile =================================================================== RCS file: /home/ncvs/src/gnu/usr.bin/binutils/ar/Makefile,v retrieving revision 1.16 diff -u -p -r1.16 Makefile --- gnu/usr.bin/binutils/ar/Makefile 21 Feb 2008 16:59:02 -0000 1.16 +++ gnu/usr.bin/binutils/ar/Makefile 24 Feb 2008 17:55:19 -0000 @@ -4,12 +4,7 @@ .PATH: ${SRCDIR}/binutils ${SRCDIR}/binutils/doc -.if defined(WITH_BSDAR) PROG= gnu-ar -#MAN= gnu-ar.1 -.else -PROG= ar -.endif SRCS= ar.c not-ranlib.c CFLAGS+= -D_GNU_SOURCE CFLAGS+= -I${.CURDIR}/${RELTOP}/libbinutils @@ -21,4 +16,8 @@ DPADD+= ${RELTOP}/libbfd/libbfd.a DPADD+= ${RELTOP}/libiberty/libiberty.a LDADD= ${DPADD} +CLEANFILES+= gnu-ar.1 +gnu-ar.1: ar.1 + ln -sf ${.ALLSRC} ${.TARGET} + .include Index: gnu/usr.bin/binutils/ranlib/Makefile =================================================================== RCS file: /home/ncvs/src/gnu/usr.bin/binutils/ranlib/Makefile,v retrieving revision 1.17 diff -u -p -r1.17 Makefile --- gnu/usr.bin/binutils/ranlib/Makefile 21 Feb 2008 16:59:02 -0000 1.17 +++ gnu/usr.bin/binutils/ranlib/Makefile 24 Feb 2008 17:56:21 -0000 @@ -4,12 +4,7 @@ .PATH: ${SRCDIR}/binutils ${SRCDIR}/binutils/doc -.if defined(WITH_BSDAR) PROG= gnu-ranlib -#MAN= gnu-ranlib.1 -.else -PROG= ranlib -.endif SRCS= ar.c is-ranlib.c CFLAGS+= -D_GNU_SOURCE CFLAGS+= -I${.CURDIR}/${RELTOP}/libbinutils @@ -21,4 +16,8 @@ DPADD+= ${RELTOP}/libbfd/libbfd.a DPADD+= ${RELTOP}/libiberty/libiberty.a LDADD= ${DPADD} +CLEANFILES+= gnu-ranlib.1 +gnu-ranlib.1: ar.1 + ln -sf ${.ALLSRC} ${.TARGET} + .include