Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Mar 2002 11:45:29 +0200
From:      Maxim Sobolev <sobomax@FreeBSD.org>
To:        Alexander Leidinger <Alexander@Leidinger.net>
Cc:        corecode@corecode.ath.cx, freebsd-ports@FreeBSD.org
Subject:   Re: what to do with share/locale/*/LC_MESSAGES ?
Message-ID:  <3C8C7CB9.A9F7E764@FreeBSD.org>
References:  <200203110857.g2B8vt5w000520@Magelan.Leidinger.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Alexander Leidinger wrote:
> 
> On 11 Mär, Maxim Sobolev wrote:
> 
> >> >> The common practice for those dirs is to put something like this into
> >> >> pkg-plist:
> >> >> ---snip---
> >> >> @unexec rmdir %D/share/locale/cs/LC_MESSAGES 2>/dev/null || true
> >> >> @unexec rmdir %D/share/locale/cs 2>/dev/null || true
> >> >> ---snip---
> 
> > It is incorrect practice. The correct way is to make port linking with
> > libintl and put devel/gettext into LIB_DEPENDS. Then gettext package
> > will automagically delete all leftover xx/LC_MESSAGES dirs upon its
> > deinstall, therefore you only need to place package-specific .po files
> > into pkg-plist. See ports/devel/gettext/pkg-plist for details.
> 
> Does the removal of such lines need a portrevision bump in the Makefile?

Not really, because they were protected with `|| true', so that no
visible changes of package behaviour occured.

-Maxim

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?3C8C7CB9.A9F7E764>