pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/36338: pkg_chk contains "@ID@" after install
>Number: 36338
>Category: pkg
>Synopsis: pkg_chk contains "@ID@" after install
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue May 15 07:55:01 +0000 2007
>Originator: MASUDA Hideo
>Release:
>Organization:
Personal
>Environment:
>Description:
pkg_chk (files/pkg_chk.sh) has some @VAR@.
In the do-build stage, all @VAR@ are replaced.
But @ID@ (at line 692) is not replaced, so pkg_chk says
# pkg_chk -u -b -n
@ID@: not found
>How-To-Repeat:
cd $PKGSRCDIR/pkgtools/pkg_chk; make install
rm -r $PKGSRCDIR/pkgtools/pkg_chk
pkg_chk -u -n
>Fix:
Applying the following patch will be happy.
# cvs diff -u Makefile
Index: Makefile
===================================================================
RCS file: /home/fs/NetBSD/cvsroot/pkgsrc/pkgtools/pkg_chk/Makefile,v
retrieving revision 1.52
diff -u -r1.52 Makefile
--- Makefile 24 Apr 2007 22:16:38 -0000 1.52
+++ Makefile 15 May 2007 01:11:20 -0000
@@ -32,6 +32,7 @@
${SED} -e 's#@AWK@#${AWK}#g' \
-e 's#@GREP@#${GREP}#g' \
-e 's#@GZIP_CMD@#gzip#g' \
+ -e 's#@ID@#${ID}#g' \
-e 's#@MAKE@#${MAKE}#g' \
-e 's#@MAKECONF@#${TMP_MAKECONF}#g' \
-e 's#@PKG_ADD@#${PKG_ADD}#g' \
Home |
Main Index |
Thread Index |
Old Index