From owner-freebsd-ports Mon Mar 11 1:46:16 2002 Delivered-To: freebsd-ports@freebsd.org Received: from alcatraz.iptelecom.net.ua (alcatraz.iptelecom.net.ua [212.9.224.15]) by hub.freebsd.org (Postfix) with ESMTP id 29D8137B402 for ; Mon, 11 Mar 2002 01:46:09 -0800 (PST) Received: from ipcard.iptcom.net (ipcard.iptcom.net [212.9.224.5]) by alcatraz.iptelecom.net.ua (8.9.3/8.9.3) with ESMTP id LAA11822; Mon, 11 Mar 2002 11:45:50 +0200 (EET) (envelope-from sobomax@FreeBSD.org) Received: from vega.vega.com (h191.229.dialup.iptcom.net [212.9.229.191]) by ipcard.iptcom.net (8.9.3/8.9.3) with ESMTP id LAA12524; Mon, 11 Mar 2002 11:45:44 +0200 (EET) (envelope-from sobomax@FreeBSD.org) Received: from FreeBSD.org (big_brother.vega.com [192.168.1.1]) by vega.vega.com (8.11.6/8.11.3) with ESMTP id g2B9iWB25851; Mon, 11 Mar 2002 11:44:32 +0200 (EET) (envelope-from sobomax@FreeBSD.org) Message-ID: <3C8C7CB9.A9F7E764@FreeBSD.org> Date: Mon, 11 Mar 2002 11:45:29 +0200 From: Maxim Sobolev Organization: Vega International Capital X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: en,uk,ru MIME-Version: 1.0 To: Alexander Leidinger Cc: corecode@corecode.ath.cx, freebsd-ports@FreeBSD.org Subject: Re: what to do with share/locale/*/LC_MESSAGES ? References: <200203110857.g2B8vt5w000520@Magelan.Leidinger.net> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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