diff options
author | Chris Kuethe <ckuethe@cvs.openbsd.org> | 2006-11-27 22:50:32 +0000 |
---|---|---|
committer | Chris Kuethe <ckuethe@cvs.openbsd.org> | 2006-11-27 22:50:32 +0000 |
commit | 991bba28730dd96e3e2558471f83a2c7ac6d5b60 (patch) | |
tree | d933682c00d61e8e6ebd056a0d35376ab1283325 | |
parent | b2cabbc9b473ef44f4759a6fe1e768d5d87c9200 (diff) |
When a package is not found, exit with an error code. Allows things like
neon and subversion to build.
-rw-r--r-- | usr.bin/pkg-config/pkg-config | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/pkg-config/pkg-config b/usr.bin/pkg-config/pkg-config index 37dede56199..0ed2d02d7de 100644 --- a/usr.bin/pkg-config/pkg-config +++ b/usr.bin/pkg-config/pkg-config @@ -140,8 +140,8 @@ while (@ARGV){ push(@ARGV, split(/\s+/,$privdeps)) if ($privdeps); } else { - exit(1) if (defined($mode{'exists'})); warn("can't find $p\n"); + exit(1); } } } |