Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jun 2003 11:32:18 +0400 (MSD)
From:      "Andrey A. Chernov" <ache@nagual.pp.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/53189: No symlinks for POSIX and en_US.US-ASCII created by standard /usr/local mtreeing
Message-ID:  <200306110732.h5B7WILk075046@pobrecita.freebsd.ru>
Resent-Message-ID: <200306110740.h5B7eB5a006082@freefall.freebsd.org>

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

>Number:         53189
>Category:       ports
>Synopsis:       No symlinks for POSIX and en_US.US-ASCII created by standard /usr/local mtreeing
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 11 00:40:08 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Andrey A. Chernov
>Release:        FreeBSD 5.1-BETA i386
>Organization:
>Environment:
System: FreeBSD pobrecita.freebsd.ru 5.1-BETA FreeBSD 5.1-BETA #0: Sun Jun 1 21:22:53 MSD 2003 ache@pobrecita.freebsd.ru:/usr/src/sys/i386/compile/POBRECITA i386


>Description:
Port may install its default nls into C directory, but POSIX and
en_US.US-ASCII, which are valiad aliases, not understanded.
>How-To-Repeat:
Set LANG to POSIX or en_US.US-ASCII and use port which installs
default nls.
>Fix:
--- bsd.port.mk.orig	Tue May 27 22:17:52 2003
+++ bsd.port.mk	Wed Jun 11 10:48:24 2003
@@ -2952,6 +2952,11 @@
 			exit 1; \
 		else \
 			${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; \
+			fi; \
 		fi; \
 	else \
 		${ECHO_MSG} "Warning: not superuser, can't run mtree."; \


>Release-Note:
>Audit-Trail:
>Unformatted:



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