pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_chk Update pkg_chk to 1.95:
details: https://anonhg.NetBSD.org/pkgsrc/rev/6ff1b874760a
branches: trunk
changeset: 544052:6ff1b874760a
user: abs <abs%pkgsrc.org@localhost>
date: Sat Jul 05 22:56:40 2008 +0000
description:
Update pkg_chk to 1.95:
- Handle pkgsrc in LOCALBASE - fixes PR pkg/32326
diffstat:
pkgtools/pkg_chk/Makefile | 5 ++---
pkgtools/pkg_chk/files/pkg_chk.sh | 5 +++--
2 files changed, 5 insertions(+), 5 deletions(-)
diffs (35 lines):
diff -r 864a52aaf00e -r 6ff1b874760a pkgtools/pkg_chk/Makefile
--- a/pkgtools/pkg_chk/Makefile Sat Jul 05 22:29:41 2008 +0000
+++ b/pkgtools/pkg_chk/Makefile Sat Jul 05 22:56:40 2008 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.67 2008/06/12 13:38:28 abs Exp $
+# $NetBSD: Makefile,v 1.68 2008/07/05 22:56:40 abs Exp $
-DISTNAME= pkg_chk-1.94
-PKGREVISION= 1
+DISTNAME= pkg_chk-1.95
CATEGORIES= pkgtools
MASTER_SITES= # empty
DISTFILES= # empty
diff -r 864a52aaf00e -r 6ff1b874760a pkgtools/pkg_chk/files/pkg_chk.sh
--- a/pkgtools/pkg_chk/files/pkg_chk.sh Sat Jul 05 22:29:41 2008 +0000
+++ b/pkgtools/pkg_chk/files/pkg_chk.sh Sat Jul 05 22:56:40 2008 +0000
@@ -1,6 +1,6 @@
#!@SH@ -e
#
-# $Id: pkg_chk.sh,v 1.59 2008/05/26 09:25:43 tron Exp $
+# $Id: pkg_chk.sh,v 1.60 2008/07/05 22:56:40 abs Exp $
#
# TODO: Make -g check dependencies and tsort
# TODO: Make -g list user-installed packages first, followed by commented
@@ -160,8 +160,9 @@
extract_variables()
{
extract_mk_var PKGSRCDIR ''
+ extract_mk_var LOCALBASE ''
if [ -z "$PKGSRCDIR" ] ; then
- for dir in . .. ../.. /usr/pkgsrc ; do
+ for dir in $LOCALBASE/pkgsrc /usr/pkgsrc . .. ../.. ; do
if [ -f "${dir}/mk/bsd.pkg.mk" ]; then
case "${dir}" in
/*) PKGSRCDIR="${dir}" ;;
Home |
Main Index |
Thread Index |
Old Index