From fuyuki@nigredo.org  Wed Oct  1 22:28:25 2003
Return-Path: <fuyuki@nigredo.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id A0A3016A4B3
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  1 Oct 2003 22:28:25 -0700 (PDT)
Received: from mgate11.so-net.ne.jp (mgate11.so-net.ne.jp [210.139.254.158])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 7160C43FDF
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  1 Oct 2003 22:28:23 -0700 (PDT)
	(envelope-from fuyuki@nigredo.org)
Received: from mail.dg8.so-net.ne.jp (mspool12.so-net.ne.jp [210.139.248.12])
	by mgate11.so-net.ne.jp  with ESMTP id h925SM908076
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 2 Oct 2003 14:28:22 +0900 (JST)
Received: from ns.nigredo.org (pdd2f8e.spprac00.ap.so-net.ne.jp [218.221.47.142])
	by mail.dg8.so-net.ne.jp  with ESMTP id h925SM204932
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 2 Oct 2003 14:28:22 +0900 (JST)
Received: from ns.nigredo.org (localhost [::1])
	by ns.nigredo.org (Postfix) with ESMTP id AEA4420BF
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  2 Oct 2003 14:28:21 +0900 (JST)
Message-Id: <86d6dgryx6.wl%fuyuki@nigredo.org>
Date: Thu, 02 Oct 2003 14:28:21 +0900
From: Kimura Fuyuki <fuyuki@nigredo.org>
To: FreeBSD-gnats-submit@freebsd.org
Subject: bsd.port.mk: share/nls/C/C -> C

>Number:         57488
>Category:       ports
>Synopsis:       bsd.port.mk: share/nls/C/C -> C
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    portmgr
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 01 22:30:19 PDT 2003
>Closed-Date:    Fri Nov 07 00:56:07 PST 2003
>Last-Modified:  Fri Nov 07 00:56:07 PST 2003
>Originator:     Kimura Fuyuki
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
>Environment:

  FreeBSD ns.nigredo.org 5.1-CURRENT i386

>Description:

"${LN} -sf" in install-mtree makes an annoying symlink if the links
are already exist.

$ ls -l /usr/local/share/nls/C
total 0
lrwxr-xr-x  1 root  wheel  1 Oct  2 14:17 C -> C

>How-To-Repeat:

>Fix:
Index: bsd.port.mk
===================================================================
RCS file: /cvs/FreeBSD/ports/Mk/bsd.port.mk,v
retrieving revision 1.468
diff -u -r1.468 bsd.port.mk
--- bsd.port.mk	3 Sep 2003 19:50:24 -0000	1.468
+++ bsd.port.mk	2 Oct 2003 02:08:37 -0000
@@ -3171,8 +3184,8 @@
 			${MTREE_CMD} ${MTREE_ARGS} ${PREFIX}/ >/dev/null; \
 			if [ ${MTREE_FILE} = "/etc/mtree/BSD.local.dist" ]; then \
 				cd ${PREFIX}/share/nls; \
-				${LN} -sf C POSIX; \
-				${LN} -sf C en_US.US-ASCII; \
+				${LN} -shf C POSIX; \
+				${LN} -shf C en_US.US-ASCII; \
 			fi; \
 		fi; \
 	else \

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->portmgr  
Responsible-Changed-By: krion 
Responsible-Changed-When: Thu Oct 2 00:10:02 PDT 2003 
Responsible-Changed-Why:  
portmgr territory 

http://www.freebsd.org/cgi/query-pr.cgi?pr=57488 
State-Changed-From-To: open->analyzed 
State-Changed-By: marcus 
State-Changed-When: Sat Nov 1 12:31:12 PST 2003 
State-Changed-Why:  
This is currently being tested on bento. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=57488 
State-Changed-From-To: analyzed->closed 
State-Changed-By: marcus 
State-Changed-When: Fri Nov 7 00:52:50 PST 2003 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=21885 
State-Changed-From-To: analyzed->closed 
State-Changed-By: marcus 
State-Changed-When: Fri Nov 7 00:52:50 PST 2003 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=51588 
State-Changed-From-To: analyzed->closed 
State-Changed-By: marcus 
State-Changed-When: Fri Nov 7 00:52:50 PST 2003 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=55325 
State-Changed-From-To: analyzed->closed 
State-Changed-By: marcus 
State-Changed-When: Fri Nov 7 00:52:50 PST 2003 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=57778 
State-Changed-From-To: analyzed->closed 
State-Changed-By: marcus 
State-Changed-When: Fri Nov 7 00:52:50 PST 2003 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=55674 
State-Changed-From-To: analyzed->closed 
State-Changed-By: marcus 
State-Changed-When: Fri Nov 7 00:52:50 PST 2003 
State-Changed-Why:  
Fixed with the comment made in the follow-up.  Thanks for reporting. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=56096 
State-Changed-From-To: analyzed->closed 
State-Changed-By: marcus 
State-Changed-When: Fri Nov 7 00:52:50 PST 2003 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=56355 
State-Changed-From-To: analyzed->closed 
State-Changed-By: marcus 
State-Changed-When: Fri Nov 7 00:52:50 PST 2003 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=56533 
State-Changed-From-To: analyzed->closed 
State-Changed-By: marcus 
State-Changed-When: Fri Nov 7 00:52:50 PST 2003 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=57272 
State-Changed-From-To: analyzed->closed 
State-Changed-By: marcus 
State-Changed-When: Fri Nov 7 00:52:50 PST 2003 
State-Changed-Why:  
Committed with the additional check of INSTALL_AS_USER.  Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=57378 
State-Changed-From-To: analyzed->closed 
State-Changed-By: marcus 
State-Changed-When: Fri Nov 7 00:52:50 PST 2003 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=57403 
State-Changed-From-To: analyzed->closed 
State-Changed-By: marcus 
State-Changed-When: Fri Nov 7 00:52:50 PST 2003 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=57438 
State-Changed-From-To: analyzed->closed 
State-Changed-By: marcus 
State-Changed-When: Fri Nov 7 00:52:50 PST 2003 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=57488 
>Unformatted:
