pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_chk extract OPSYS, OS_VERSION and MACHINE...
details: https://anonhg.NetBSD.org/pkgsrc/rev/a61e1673022d
branches: trunk
changeset: 480044:a61e1673022d
user: grant <grant%pkgsrc.org@localhost>
date: Sat Aug 28 23:10:34 2004 +0000
description:
extract OPSYS, OS_VERSION and MACHINE_ARCH from pkgsrc so the values
are consistent with pkgsrc. welcome to pkg_chk 1.50.
diffstat:
pkgtools/pkg_chk/Makefile | 4 ++--
pkgtools/pkg_chk/files/pkg_chk.sh | 5 +++--
2 files changed, 5 insertions(+), 4 deletions(-)
diffs (33 lines):
diff -r 83414179b368 -r a61e1673022d pkgtools/pkg_chk/Makefile
--- a/pkgtools/pkg_chk/Makefile Sat Aug 28 22:18:10 2004 +0000
+++ b/pkgtools/pkg_chk/Makefile Sat Aug 28 23:10:34 2004 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.6 2004/06/30 09:53:42 abs Exp $
+# $NetBSD: Makefile,v 1.7 2004/08/28 23:10:34 grant Exp $
-DISTNAME= pkg_chk-1.49
+DISTNAME= pkg_chk-1.50
CATEGORIES= pkgtools
MASTER_SITES= # empty
DISTFILES= # empty
diff -r 83414179b368 -r a61e1673022d pkgtools/pkg_chk/files/pkg_chk.sh
--- a/pkgtools/pkg_chk/files/pkg_chk.sh Sat Aug 28 22:18:10 2004 +0000
+++ b/pkgtools/pkg_chk/files/pkg_chk.sh Sat Aug 28 23:10:34 2004 +0000
@@ -1,6 +1,6 @@
#!@SH@ -e
#
-# $Id: pkg_chk.sh,v 1.6 2004/06/30 09:53:42 abs Exp $
+# $Id: pkg_chk.sh,v 1.7 2004/08/28 23:10:34 grant Exp $
#
# TODO: Handle updates with dependencies via binary packages
@@ -438,7 +438,8 @@
# Determine list of tags
#
- TAGS="$(hostname | sed -e 's,\..*,,'),$(hostname),$(uname -srm | ${AWK} '{print $1"-"$2"-"$3","$1"-"$2","$1"-"$3","$1","$2","$3}')"
+ extract_make_vars OPSYS OS_VERSION MACHINE_ARCH
+ TAGS="$(hostname | sed -e 's,\..*,,'),$(hostname),$OPSYS-$OS_VERSION-$MACHINE_ARCH,$OPSYS-$OS_VERSION,$OPSYS-$MACHINE_ARCH,$OPSYS,$OS_VERSION,$MACHINE_ARCH"
if [ -f /usr/X11R6/lib/libX11.so -o -f /usr/X11R6/lib/libX11.a ];then
TAGS="$TAGS,x11"
fi
Home |
Main Index |
Thread Index |
Old Index