diff options
author | jlam <jlam> | 2005-05-19 20:08:44 +0000 |
---|---|---|
committer | jlam <jlam> | 2005-05-19 20:08:44 +0000 |
commit | e7657ca5484af5aa08617766e0961b9df348c801 (patch) | |
tree | 5251820a7214b238db9522067d4dec7cdc97fe12 /mk | |
parent | 43ca65dfc84eda67fa79a498173731c105b34a0c (diff) | |
download | pkgsrc-e7657ca5484af5aa08617766e0961b9df348c801.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 |