Subject: Keeping pkglint quiet
To: None <tech-pkg@NetBSD.org>
From: D'Arcy J.M. Cain <darcy@NetBSD.org>
List: tech-pkg
Date: 06/11/2004 07:42:04
I previously modified pkgsrc/lang/python/extension.mk to use ${INSTALL}
instead of install to keep pkglint quiet and had to revert it when it
was pointed out that install in that context was a parameter to
setup.py, not the install command.  Since the warning pops up in every
Python package that includes that file I wanted to find a solution. 
Turns out that it was really simple.  I just put the word into quotes in
the command line and now everything is quiet.

Index: extension.mk
===================================================================
RCS file: /cvsroot/pkgsrc/lang/python/extension.mk,v
retrieving revision 1.10
diff -u -u -r1.10 extension.mk
--- extension.mk        5 Dec 2003 19:24:31 -0000       1.10
+++ extension.mk        11 Jun 2004 11:39:16 -0000
@@ -29,7 +29,7 @@

 do-install:
        (cd ${WRKSRC}/${PYSETUPSUBDIR} && ${SETENV} ${MAKE_ENV}
${PYTHONBIN} \
-        ${PYSETUP} install ${_PYSETUPINSTALLARGS})
+        ${PYSETUP} "install" ${_PYSETUPINSTALLARGS})
 .endif

 .if defined(PY_PATCHPLIST)

Anyone have a problem if I make that change?  I was wondering if a
comment was needed in the file or was the CVS log enough.

-- 
D'Arcy J.M. Cain <darcy@NetBSD.org>
http://www.NetBSD.org/