summaryrefslogtreecommitdiff
path: root/pkgtools/pkgchk
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2001-09-13 17:44:27 +0000
committerabs <abs@pkgsrc.org>2001-09-13 17:44:27 +0000
commit065c16b5ca5a3275fe42dee5cf4271d25388acbe (patch)
tree0f5188f7387e73288d7ce29afebf87fc56ee8272 /pkgtools/pkgchk
parent4fc0cc30c3f027f2889ff166923aba885711372a (diff)
downloadpkgsrc-065c16b5ca5a3275fe42dee5cf4271d25388acbe.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