Subject: Re: pkg/24130
To: None <gnats-bugs@NetBSD.org>
From: Charlie Allom <charlie@rubberduck.com>
List: tech-pkg
Date: 02/15/2004 20:52:58
--Apple-Mail-6--252668881
Content-Type: multipart/mixed; boundary=Apple-Mail-5--252668909
--Apple-Mail-5--252668909
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
charset=US-ASCII;
format=flowed
Hi,
this patch to bsd.prefs.mk will fix this. It doesn't break on Solaris
or NetBSD.
though - I think it will make any $BUILD_USES_MSGFMT basically depend
on devel/gettext.
perhaps only do this for SunOS? hrmm
C.
--
charlie@rubberduck.com - Melbourne, Australia
http://rubberduck.com/~yeled/
PGP: 0x14AA7941 || finger yeled@lazy.spodder.com
--Apple-Mail-5--252668909
Content-Transfer-Encoding: 7bit
Content-Type: application/octet-stream;
x-unix-mode=0644;
name="bsd.pkg.mk.patch"
Content-Disposition: attachment;
filename=bsd.pkg.mk.patch
$NetBSD$
--- bsd.pkg.mk.orig 2004-02-15 20:32:41.000000000 +1100
+++ bsd.pkg.mk
@@ -409,8 +409,9 @@ LIBTOOL_OVERRIDE?= libtool */libtool */*
.endif
.if defined(BUILD_USES_MSGFMT) && \
- (!exists(/usr/bin/msgfmt) || ${_USE_GNU_GETTEXT} == "yes")
+ (!exists(${LOCALBASE}/bin/msgfmt) || ${_USE_GNU_GETTEXT} == "yes")
BUILD_DEPENDS+= gettext>=0.10.35nb1:../../devel/gettext
+CONFIGURE_ENV+= GMSGFMT=${LOCALBASE}/bin/msgfmt
.endif
.if defined(RECOMMENDED)
--Apple-Mail-5--252668909--
--Apple-Mail-6--252668881
content-type: application/pgp-signature; x-mac-type=70674453;
name=PGP.sig
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
content-transfer-encoding: 7bit
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (Darwin)
iD8DBQFAL0F7qiZDwhSqeUERAgC3AJ9y++PYi/xJntlH0wJeX6OunXwgvQCdHLgq
yBT2hg9aLGhiWjCEqPiVE1o=
=l7IK
-----END PGP SIGNATURE-----
--Apple-Mail-6--252668881--