pkgsrc-Changes archive

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

CVS commit: pkgsrc/mk/pkgtasks/tests



Module Name:    pkgsrc
Committed By:   jlam
Date:           Fri Jun  2 16:11:24 UTC 2017

Modified Files:
        pkgsrc/mk/pkgtasks/tests: test.mk

Log Message:
Remove unused variable definition _PKGTASKS_NEEDARGS from test.mk.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/mk/pkgtasks/tests/test.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mk/pkgtasks/tests/test.mk
diff -u pkgsrc/mk/pkgtasks/tests/test.mk:1.1 pkgsrc/mk/pkgtasks/tests/test.mk:1.2
--- pkgsrc/mk/pkgtasks/tests/test.mk:1.1        Thu Jun  1 02:06:05 2017
+++ pkgsrc/mk/pkgtasks/tests/test.mk    Fri Jun  2 16:11:24 2017
@@ -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 @@ STEP_MSG?=           ${ECHO} ">>>"
 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