diff options
author | grant <grant@pkgsrc.org> | 2004-08-28 23:10:34 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2004-08-28 23:10:34 +0000 |
commit | 61adc52cdf207f755addbe931ba64456f4c04100 (patch) | |
tree | c572d186932a84fbaff940f6e7319a4f0965a631 /pkgtools | |
parent | 885790ddbdbaac3e999374b3870218652c576656 (diff) | |
download | pkgsrc-61adc52cdf207f755addbe931ba64456f4c04100.tar.gz |
extract OPSYS, OS_VERSION and MACHINE_ARCH from pkgsrc so the values
are consistent with pkgsrc. welcome to pkg_chk 1.50.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkg_chk/Makefile | 4 | ||||
-rwxr-xr-x | pkgtools/pkg_chk/files/pkg_chk.sh | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/pkgtools/pkg_chk/Makefile b/pkgtools/pkg_chk/Makefile index 5aab8ebbc11..98501a3baa0 100644 --- a/pkgtools/pkg_chk/Makefile +++ b/pkgtools/pkg_chk/Makefile @@ -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 --git a/pkgtools/pkg_chk/files/pkg_chk.sh b/pkgtools/pkg_chk/files/pkg_chk.sh index 3a834d990a4..0da91e3862d 100755 --- a/pkgtools/pkg_chk/files/pkg_chk.sh +++ b/pkgtools/pkg_chk/files/pkg_chk.sh @@ -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 @@ if [ -n "$opt_c" -o -n "$opt_l" ];then # 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 |