Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 May 2003 09:22:16 +0300
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        Poul-Henning Kamp <phk@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sbin/bsdlabel Makefile
Message-ID:  <20030523062216.GE17107@sunbay.com>
In-Reply-To: <200305230608.h4N68SDB018936@repoman.freebsd.org>
References:  <200305230608.h4N68SDB018936@repoman.freebsd.org>

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

[-- Attachment #1 --]
On Thu, May 22, 2003 at 11:08:28PM -0700, Peter Wemm wrote:
> peter       2003/05/22 23:08:28 PDT
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sbin/bsdlabel        Makefile 
>   Log:
>   Add amd64 to the MACHINE_ARCH list of systems that link bsdlabel to
>   disklabel.  I just got burnt again by having an old disklabel binary
>   kicking around.
>   
>   Discussed with: phk
>   Approved by:    re (safe amd64 stuff)
>   
>   Revision  Changes    Path
>   1.18      +2 -1      src/sbin/bsdlabel/Makefile
> 
Speaking of which...

Poul-Henning, when do you plan to initiate the de-orbit
burn sequence for /sbin/disklabel, something like this?

%%%
Index: Makefile
===================================================================
RCS file: /home/ncvs/src/sbin/bsdlabel/Makefile,v
retrieving revision 1.17
diff -u -r1.17 Makefile
--- Makefile	17 May 2003 19:06:45 -0000	1.17
+++ Makefile	23 May 2003 06:19:20 -0000
@@ -7,12 +7,6 @@
 SRCS=	bsdlabel.c geom_bsd_enc.c
 #MAN=	bsdlabel.5
 MAN+=	bsdlabel.8
-
-.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "alpha"
-LINKS=	${BINDIR}/bsdlabel ${BINDIR}/disklabel
-MLINKS=	bsdlabel.8 disklabel.8
-.endif
-
 DPADD=	${LIBGEOM}
 LDADD=	-lgeom
 
@@ -21,6 +15,11 @@
 .endif
 
 .include <bsd.prog.mk>
+
+afterinstall:
+.if exists(${DESTDIR}${BINDIR}/disklabel)
+	rm -f ${DESTDIR}${BINDIR}/disklabel
+.endif
 
 test: ${PROG}
 	sh ${.CURDIR}/runtest.sh
%%%


Cheers,
-- 
Ruslan Ermilov		Sysadmin and DBA,
ru@sunbay.com		Sunbay Software AG,
ru@FreeBSD.org		FreeBSD committer,
+380.652.512.251	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+zb4XUkv4P6juNwoRAvgaAJ9SMWkNv4zEvKPDz/enAPTWDEbLlQCfX/zf
cCqaEjTlZ0kW0unOTVmXB30=
=gZld
-----END PGP SIGNATURE-----

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