pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/pkgformat/pkg consider nb? in dependency pattern.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/88678b631716
branches:  trunk
changeset: 618564:88678b631716
user:      obache <obache%pkgsrc.org@localhost>
date:      Sun May 12 05:24:28 2013 +0000

description:
consider nb? in dependency pattern.

diffstat:

 mk/pkgformat/pkg/reduce-depends.awk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r e0ba336a3971 -r 88678b631716 mk/pkgformat/pkg/reduce-depends.awk
--- a/mk/pkgformat/pkg/reduce-depends.awk       Sun May 12 05:13:37 2013 +0000
+++ b/mk/pkgformat/pkg/reduce-depends.awk       Sun May 12 05:24:28 2013 +0000
@@ -1,6 +1,6 @@
 #!/usr/bin/awk -f
 #
-# $NetBSD: reduce-depends.awk,v 1.1 2011/10/15 00:23:09 reed Exp $
+# $NetBSD: reduce-depends.awk,v 1.2 2013/05/12 05:24:28 obache Exp $
 #
 # Copyright (c) 2006 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -116,7 +116,7 @@
                for (d = 1; d <= D; d++) {
                        dep = depends[pkgpath, d]
                        if (dep ~ /[{]/ || \
-                           dep ~ />=[0-9][0-9\.]*<[0-9]+/ || \
+                           dep ~ />=[0-9][0-9\.]*(nb[0-9]+)?<[0-9]+/ || \
                            dep !~ />=[0-9]+/)
                        {
                                reduced[N++] = dep ":" pkgsrcdirs[pkgpath]



Home | Main Index | Thread Index | Old Index