Subject: CVS commit: pkgsrc
To: None <pkgsrc-changes@netbsd.org>
From: Lubomir Sedlacik <salo@netbsd.org>
List: pkgsrc-changes
Date: 11/28/2002 16:21:34
Module Name:	pkgsrc
Committed By:	salo
Date:		Thu Nov 28 14:21:34 UTC 2002

Modified Files:
	pkgsrc: Packages.txt
	pkgsrc/mk/buildlink2: bsd.buildlink2.mk

Log Message:
Introduce new framework for handling packages' locale directories.

The logic is:
 - if package defines USE_PKGLOCALEDIR and PKGLOCALEDIR is not 'share' as GNU
   autotools expects then
 - fix variables 'localedir', 'gnulocaledir' and define coorect 'LOCALEDIR' in
   the Makefile.in.* files

From Packages.txt:

 10.29 Packages providing locale catalogues
 ==========================================

If the package provides its own locale catalogues, the variable
USE_PKGLOCALEDIR should be defined.  It will ensure that the package's
Makefile template files are fixed and point to the correct locale directories
(which may vary, depending on OS), if necessary.  See also section 5.1 for
details about ${PKGLOCALEDIR}.  This functionality is buildlink2-only.


To generate a diff of this commit:
cvs rdiff -r1.271 -r1.272 pkgsrc/Packages.txt
cvs rdiff -r1.57 -r1.58 pkgsrc/mk/buildlink2/bsd.buildlink2.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.