pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/pkgtasks/tests Remove unused variable definition _P...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e007a32e7c73
branches:  trunk
changeset: 363150:e007a32e7c73
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Fri Jun 02 16:11:24 2017 +0000

description:
Remove unused variable definition _PKGTASKS_NEEDARGS from test.mk.

diffstat:

 mk/pkgtasks/tests/test.mk |  10 +---------
 1 files changed, 1 insertions(+), 9 deletions(-)

diffs (24 lines):

diff -r d9e657bb0fb2 -r e007a32e7c73 mk/pkgtasks/tests/test.mk
--- a/mk/pkgtasks/tests/test.mk Fri Jun 02 15:15:00 2017 +0000
+++ b/mk/pkgtasks/tests/test.mk Fri Jun 02 16:11:24 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: test.mk,v 1.1 2017/06/01 02:06:05 jlam Exp $
+# $NetBSD: test.mk,v 1.2 2017/06/02 16:11:24 jlam Exp $
 #
 # Copyright (c) 2017 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -48,14 +48,6 @@
 TEST?=                 test
 VARBASE?=              /var
 
-_PKGTASKS_NEEDARGS=                                                    \
-       needargs() {                                                    \
-               if ${TEST} $$3 -lt $$2; then                            \
-                       ${FAIL_MSG} "$$1 must have a multiple of $$2 words. Rest: $$4"; \
-                       return 1;                                       \
-               fi;                                                     \
-       }
-
 # Override any other default definitions so that generated files go into
 # the current directory.
 #



Home | Main Index | Thread Index | Old Index