pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_comp Update to 1.13:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f943740649be
branches:  trunk
changeset: 465618:f943740649be
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Sat Jan 03 10:45:50 2004 +0000

description:
Update to 1.13:
- Fix detection of outdated pkg_install.  The 'grep' failed because the error
  message shown was recently changed in pkgsrc.

diffstat:

 pkgtools/pkg_comp/Makefile          |  4 ++--
 pkgtools/pkg_comp/files/pkg_comp.sh |  6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (36 lines):

diff -r 27c0a207b7af -r f943740649be pkgtools/pkg_comp/Makefile
--- a/pkgtools/pkg_comp/Makefile        Sat Jan 03 10:31:24 2004 +0000
+++ b/pkgtools/pkg_comp/Makefile        Sat Jan 03 10:45:50 2004 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.16 2003/12/19 09:51:55 jmmv Exp $
+# $NetBSD: Makefile,v 1.17 2004/01/03 10:45:50 jmmv Exp $
 
-DISTNAME=      pkg_comp-1.12
+DISTNAME=      pkg_comp-1.13
 WRKSRC=                ${WRKDIR}
 CATEGORIES=    pkgtools
 MASTER_SITES=  # empty
diff -r 27c0a207b7af -r f943740649be pkgtools/pkg_comp/files/pkg_comp.sh
--- a/pkgtools/pkg_comp/files/pkg_comp.sh       Sat Jan 03 10:31:24 2004 +0000
+++ b/pkgtools/pkg_comp/files/pkg_comp.sh       Sat Jan 03 10:45:50 2004 +0000
@@ -1,9 +1,9 @@
 #!/bin/sh
 #
-# $NetBSD: pkg_comp.sh,v 1.13 2003/12/19 09:51:55 jmmv Exp $
+# $NetBSD: pkg_comp.sh,v 1.14 2004/01/03 10:45:50 jmmv Exp $
 #
 # pkg_comp - Build packages inside a clean chroot environment
-# Copyright (c) 2002, 2003, Julio M. Merino Vidal <jmmv%NetBSD.org@localhost>
+# Copyright (c) 2002, 2003, 2004 Julio M. Merino Vidal <jmmv%NetBSD.org@localhost>
 #
 # Redistribution and use in source and binary forms, with or without
 # modification, are permitted provided that the following conditions
@@ -560,7 +560,7 @@
 #!/bin/sh
 cd /usr/pkgsrc/pkgtools/pkg_comp
 fail=\$(make show-var VARNAME=PKG_FAIL_REASON)
-if echo \$fail | grep "package tools need to be updated" >/dev/null; then
+if echo \$fail | grep "package tools installed on this system are out of date" >/dev/null; then
     echo "PKG_COMP ==> pkg_install is out of date; rebuilding"
     cd /usr/pkgsrc/pkgtools/pkg_install
     make && make install && make clean



Home | Main Index | Thread Index | Old Index