Subject: CVS commit: pkgsrc/devel/gettext-lib
To: None <pkgsrc-changes@netbsd.org>
From: Johnny C. Lam <jlam@netbsd.org>
List: pkgsrc-changes
Date: 12/03/2002 00:06:56
Module Name:	pkgsrc
Committed By:	jlam
Date:		Mon Dec  2 22:06:56 UTC 2002

Modified Files:
	pkgsrc/devel/gettext-lib: buildlink2.mk

Log Message:
gettext-0.11.5's gettext.m4, used by newer GNU configure scripts, no longer
uses a compile/link test to determine the presence or absence of libintl.
Instead it uses a file existence test for libintl.{a,so,la} in specific
directories.  buildlink2 can't work around this, but gettext.m4 does
provide a new configure option "--with-libintl-prefix" to specify in which
directory to look for libintl, so use it.  It's harmless on older GNU
configure scripts as they will ignore unknown options, but it will fix
gettext detection with newer GNU configure scripts that use the new
gettext.m4.  Also protect a forced cache value from being passed to the
configure script unless libintl really does exist.


To generate a diff of this commit:
cvs rdiff -r1.12 -r1.13 pkgsrc/devel/gettext-lib/buildlink2.mk

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