add_frameworks_dep() {
debug-print-function ${FUNCNAME} "$@"
+ if [[ $# -gt 4 ]]; then
+ die "${FUNCNAME} was called with too many arguments"
+ fi
+
local version
if [[ -n ${3} ]]; then
add_plasma_dep() {
debug-print-function ${FUNCNAME} "$@"
+ if [[ $# -gt 4 ]]; then
+ die "${FUNCNAME} was called with too many arguments"
+ fi
+
local version
if [[ -n ${3} ]]; then
add_kdeapps_dep() {
debug-print-function ${FUNCNAME} "$@"
+ if [[ $# -gt 4 ]]; then
+ die "${FUNCNAME} was called with too many arguments"
+ fi
+
local version
if [[ -n ${3} ]]; then
add_qt_dep() {
debug-print-function ${FUNCNAME} "$@"
+ if [[ $# -gt 4 ]]; then
+ die "${FUNCNAME} was called with too many arguments"
+ fi
+
local version
if [[ -n ${3} ]]; then