kde5-functions: die if too many arguments are passed to add_*_dep
authorMichael Palimaka <kensington@gentoo.org>
Thu, 16 Jun 2016 19:31:03 +0000 (05:31 +1000)
committerMichael Palimaka <kensington@gentoo.org>
Wed, 6 Jul 2016 18:49:45 +0000 (04:49 +1000)
commitab1baddbb30c2e6f8c3120404676355a2cd470d6
tree8c5427d0fa31a78e9b847b312e589da5e9708ee3
parent2ee2a108fa08b1ee1722fbd328f38c13f23fee2b
kde5-functions: die if too many arguments are passed to add_*_dep

This avoids bugs where too many arguments are passed by mistake, causing the
last one to be ignored.

For example, the subslot operator added in d1bc5ac3f0e42df0f0255c8b39d7df16c5d4176b
was never applied because too many '' were passed.
eclass/kde5-functions.eclass