diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2005-04-13 20:07:11 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2005-04-13 20:07:11 +0000 |
commit | 16ee8332b5f717a6ed16efe8c5cee5a7c22cb2b3 (patch) | |
tree | 41f6dc926ef7347632cbf17807a860724cd370f8 /devel/pkg-config | |
parent | a0d494a621066400360f60b6d5616d8f6e17fb2b (diff) | |
download | ports-16ee8332b5f717a6ed16efe8c5cee5a7c22cb2b3.tar.gz ports-16ee8332b5f717a6ed16efe8c5cee5a7c22cb2b3.zip |
Notes
Diffstat (limited to 'devel/pkg-config')
-rw-r--r-- | devel/pkg-config/Makefile | 2 | ||||
-rw-r--r-- | devel/pkg-config/files/patch-pkg.c | 37 |
2 files changed, 20 insertions, 19 deletions
diff --git a/devel/pkg-config/Makefile b/devel/pkg-config/Makefile index c838deced61d..2d66dccc9565 100644 --- a/devel/pkg-config/Makefile +++ b/devel/pkg-config/Makefile @@ -7,6 +7,7 @@ PORTNAME= pkgconfig PORTVERSION= 0.17.1 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://pkgconfig.freedesktop.org/releases/ DIST_SUBDIR= gnome2 @@ -16,6 +17,7 @@ COMMENT= A utility to retrieve information about installed libraries USE_GMAKE= yes USE_LIBTOOL_VER=15 +USE_GNOME= gnometarget LIBTOOLFILES= glib-1.2.8/configure LIBTOOLFLAGS= --disable-ltlibs \ --disable-shared diff --git a/devel/pkg-config/files/patch-pkg.c b/devel/pkg-config/files/patch-pkg.c index 79606e24f0a8..8e10f2143951 100644 --- a/devel/pkg-config/files/patch-pkg.c +++ b/devel/pkg-config/files/patch-pkg.c @@ -1,21 +1,20 @@ ---- pkg.c.orig Tue Apr 12 07:08:13 2005 -+++ pkg.c Tue Apr 12 13:55:42 2005 -@@ -128,7 +128,7 @@ name_ends_in_uninstalled (const char *st - * locations, ignoring duplicates - */ - static void --scan_dir (const char *dirname) -+scan_dir (const char *dirname, void *quiet) - { - DIR *dir; - struct dirent *dent; -@@ -148,7 +148,8 @@ scan_dir (const char *dirname) - free (dirname_copy); - if (!dir) +--- pkg.c.orig Wed Apr 13 16:04:58 2005 ++++ pkg.c Wed Apr 13 16:05:33 2005 +@@ -1024,7 +1024,7 @@ + tmp = pkgs; + while (tmp != NULL) { -- debug_spew ("Cannot open directory '%s' in package search path: %s\n", -+ if (!quiet) -+ debug_spew ("Cannot open directory '%s' in package search path: %s\n", - dirname, g_strerror (errno)); - return; +- dups_list = g_slist_concat (dups_list, get_l_libs(tmp->data)); ++ dups_list = g_slist_concat (dups_list, g_slist_copy(get_l_libs(tmp->data))); + tmp = tmp->next; } + +@@ -1067,7 +1067,7 @@ + tmp = pkgs; + while (tmp != NULL) + { +- dups_list = g_slist_concat (dups_list, get_L_libs(tmp->data)); ++ dups_list = g_slist_concat (dups_list, g_slist_copy(get_L_libs(tmp->data))); + tmp = tmp->next; + } + |