Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jun 2001 01:38:05 +0400
From:      "Andrey A. Chernov" <ache@nagual.pp.ru>
To:        ports@freebsd.org, asami@freebsd.org
Subject:   bsd.port.mk needs fixing (missing symlinks)
Message-ID:  <20010611013805.A3041@nagual.pp.ru>

next in thread | raw e-mail | index | archive | help
Our /usr/local/share/nls was and is broken due to missing symlinks.

Running mtree on /usr/local is not enough because symlinks are not
created. The following code from recent etc/Makefile will create them in
normal case (for system nls):

	cd ${DESTDIR}/usr/share/nls; \
	set - `grep "^[a-zA-Z]" ${.CURDIR}/nls.alias`; \
	while [ $$# -gt 0 ] ; \
	do \
		rm -rf "$$1"; \
		ln -s "$$2" "$$1"; \
		shift; shift; \
	done

but it is for -current only and require nls.alias from source tree.
Something similar should be added to bsd.port.mk too, but I don't know
exact solution due to many different ways to do that.

The same thing is true for /usr/local/share/man missing symlinks - see
corresponding etc/Makefile code with man.alias and one line before:

	cd ${DESTDIR}/usr/share/man/en.ISO8859-1; ln -sf ../man* .

Please fix it somehow.

-- 
Andrey A. Chernov
http://ache.pp.ru/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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