ports/57488: bsd.port.mk: share/nls/C/C -> C

Kimura Fuyuki fuyuki at nigredo.org
Thu Oct 2 05:30:21 UTC 2003


>Number:         57488
>Category:       ports
>Synopsis:       bsd.port.mk: share/nls/C/C -> C
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 01 22:30:19 PDT 2003
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



More information about the freebsd-ports-bugs mailing list