summaryrefslogtreecommitdiff
path: root/pkgtools/pkgchk
diff options
context:
space:
mode:
authorabs <abs>2001-09-13 17:44:27 +0000
committerabs <abs>2001-09-13 17:44:27 +0000
commit5bbcefb26d8aad42a945a94a7d5491ede87eedb8 (patch)
tree0f5188f7387e73288d7ce29afebf87fc56ee8272 /pkgtools/pkgchk
parenteaeba40ee095d14382d0b45b048054f223d8b319 (diff)
downloadpkgsrc-5bbcefb26d8aad42a945a94a7d5491ede87eedb8.tar.gz
Update pkg-chk to 1.11
Correct check for X libraries (x11 tag)
Diffstat (limited to 'pkgtools/pkgchk')
-rw-r--r--pkgtools/pkgchk/Makefile4
-rwxr-xr-xpkgtools/pkgchk/files/pkgchk.sh4
2 files changed, 4 insertions, 4 deletions
diff --git a/pkgtools/pkgchk/Makefile b/pkgtools/pkgchk/Makefile
index 416c6adbbdf..93b254e48be 100644
--- a/pkgtools/pkgchk/Makefile
+++ b/pkgtools/pkgchk/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.11 2001/08/23 11:55:16 abs Exp $
+# $NetBSD: Makefile,v 1.12 2001/09/13 17:44:27 abs Exp $
-DISTNAME= pkgchk-1.10
+DISTNAME= pkgchk-1.11
CATEGORIES= pkgtools
MASTER_SITES= # empty
DISTFILES= # empty
diff --git a/pkgtools/pkgchk/files/pkgchk.sh b/pkgtools/pkgchk/files/pkgchk.sh
index 2b7fb94e45e..d69ed6c7a11 100755
--- a/pkgtools/pkgchk/files/pkgchk.sh
+++ b/pkgtools/pkgchk/files/pkgchk.sh
@@ -1,6 +1,6 @@
#!/bin/sh -e
#
-# $Id: pkgchk.sh,v 1.12 2001/08/23 11:55:17 abs Exp $
+# $Id: pkgchk.sh,v 1.13 2001/09/13 17:44:27 abs Exp $
#
# TODO: Handle and as well as or tags (eg: i386+x11)
# TODO: Handle updates with dependencies via binary packages
@@ -219,7 +219,7 @@ if [ -n "$opt_c" ];then
# Determine list of tags
#
TAGS="`hostname | sed -e 's,\..*,,'`,`uname -srm | ${AWK} '{print $1"-"$2"-"$3","$1"-"$2","$1"-"$3","$1","$2","$3}'`"
- if [ -f /usr/X11R6/lib/libX11.so -o /usr/X11R6/lib/libX11.a ];then
+ if [ -f /usr/X11R6/lib/libX11.so -o -f /usr/X11R6/lib/libX11.a ];then
TAGS="$TAGS,x11"
fi
if [ -n "$opt_D" ];then