diff options
author | jlam <jlam@pkgsrc.org> | 2005-05-19 20:08:44 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2005-05-19 20:08:44 +0000 |
commit | 28e2995cd1b13973f4e1767f964ab008c4d69e36 (patch) | |
tree | 5251820a7214b238db9522067d4dec7cdc97fe12 /mk | |
parent | 9e067ec9bc7a6dce393da906b3fc4798f0fa0082 (diff) | |
download | pkgsrc-28e2995cd1b13973f4e1767f964ab008c4d69e36.tar.gz |
We can only use the subst.mk framework if the files are relative to
${WRKSRC}. Just directly create the msgfmt wrapper in the proper
target. Also, note that the msgfmt handling should eventually migrate
to the tools framework so that build dependencies and binary paths are
correct.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/tools/replace.mk | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/mk/tools/replace.mk b/mk/tools/replace.mk index 5518b22f2b9..6e7288ed22b 100644 --- a/mk/tools/replace.mk +++ b/mk/tools/replace.mk @@ -1,4 +1,4 @@ -# $NetBSD: replace.mk,v 1.86 2005/05/19 05:27:25 jlam Exp $ +# $NetBSD: replace.mk,v 1.87 2005/05/19 20:08:44 jlam Exp $ # # This Makefile fragment handles "replacements" of system-supplied # tools with pkgsrc versions. @@ -59,6 +59,13 @@ TOOLS_DEPMETHOD.perl?= DEPENDS . endif .endif +# XXX Keep this hack here until the day that msgfmt and msgfmt-plurals +# XXX is handled directly by the tools framework. +# XXX +.if defined(USE_MSGFMT_PLURALS) && !empty(USE_MSGFMT_PLURALS:M[yY][eE][sS]) +USE_TOOLS+= perl +.endif + # bison implies "bison-yacc" .if !empty(USE_TOOLS:Mbison) USE_TOOLS+= bison-yacc |