ports/53189: No symlinks for POSIX and en_US.US-ASCII created by standard /usr/local mtreeing

Andrey A. Chernov ache at nagual.pp.ru
Wed Jun 11 07:40:14 UTC 2003


>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 at 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:



More information about the freebsd-ports-bugs mailing list