pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_rolling-replace/files *really* fix previous.
details: https://anonhg.NetBSD.org/pkgsrc/rev/0d94b0764030
branches: trunk
changeset: 530395:0d94b0764030
user: tnn <tnn%pkgsrc.org@localhost>
date: Fri Jun 29 17:16:24 2007 +0000
description:
*really* fix previous.
diffstat:
pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (22 lines):
diff -r c130e22052c9 -r 0d94b0764030 pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh
--- a/pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh Fri Jun 29 17:00:44 2007 +0000
+++ b/pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh Fri Jun 29 17:16:24 2007 +0000
@@ -1,6 +1,6 @@
#!/bin/sh
-# $NetBSD: pkg_rolling-replace.sh,v 1.9 2007/06/29 17:00:44 tnn Exp $
+# $NetBSD: pkg_rolling-replace.sh,v 1.10 2007/06/29 17:16:24 tnn Exp $
#<license>
# Copyright (c) 2006 BBN Technologies Corp. All rights reserved.
#
@@ -334,8 +334,8 @@
bdeps=$(${MAKE} show-depends VARNAME=BUILD_DEPENDS)
rdeps=$(${MAKE} show-depends)
for depver in $bdeps $rdeps; do
- dep=$(echo $depver | sed -e 's/[:[].*$/0/' -e 's/>=[0-9][^-]*$//' \
- -e 's/<=[0-9][^-]*$//' -e 's/-[0-9][^-]*$//')
+ dep=$(echo $depver | sed -e 's/[:[].*$/0/' -e 's/[<>]=/-/' \
+ -e 's/-[0-9][^-]*$//')
if ! is_member $dep $OLD_DEPENDS $NEW_DEPENDS; then
NEW_DEPENDS="$NEW_DEPENDS $dep"
DEPGRAPH_SRC="$DEPGRAPH_SRC $dep $pkg"
Home |
Main Index |
Thread Index |
Old Index