summaryrefslogtreecommitdiff
path: root/pkg.c
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2005-07-14 13:05:41 +0000
committerArch Librarian <arch@canonical.com>2005-07-14 13:05:41 +0000
commit7207c289d8727ca2182bf0939f46b0e083736784 (patch)
treea496ee5a36bfec956952ffc9970e2239998454d8 /pkg.c
parent70fbf4c00a9f07c66c3d8563dec90c312e72cacc (diff)
downloadpkg-config-7207c289d8727ca2182bf0939f46b0e083736784.tar.gz
2003-02-15 Havoc Pennington <hp@pobox.com>
Author: hp Date: 2003-02-15 15:04:07 GMT 2003-02-15 Havoc Pennington <hp@pobox.com> Fixes suggested by Werner Trobin * main.c (verbose_error): honor --errors-to-stdout and flush the same stream we write to * parse.c (parse_url): support an "url" field so if someone has a .pc file they can figure out where to go for newer versions and such
Diffstat (limited to 'pkg.c')
-rw-r--r--pkg.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg.c b/pkg.c
index 300e924..3314891 100644
--- a/pkg.c
+++ b/pkg.c
@@ -730,6 +730,9 @@ verify_package (Package *pkg)
ver->version,
req->name,
req->version);
+ if (req->url)
+ verbose_error ("You may find new versions of %s at %s\n",
+ req->name, req->url);
exit (1);
}