summaryrefslogtreecommitdiffstats
path: root/devel/pkgconfig/files/patch-parse.c
diff options
context:
space:
mode:
authoradamw <adamw@df743ca5-7f9a-e211-a948-0013205c9059>2005-07-07 02:18:22 +0800
committeradamw <adamw@df743ca5-7f9a-e211-a948-0013205c9059>2005-07-07 02:18:22 +0800
commit790914a7725a0edb8fd11e7a0efb2046ea724107 (patch)
tree0f624a6cc205a20eea29734a3da774d0a3bffd49 /devel/pkgconfig/files/patch-parse.c
parent21e293856041ac179054ee21656d8cb04a6410ff (diff)
downloadmarcuscom-ports-790914a7725a0edb8fd11e7a0efb2046ea724107.tar
marcuscom-ports-790914a7725a0edb8fd11e7a0efb2046ea724107.tar.gz
marcuscom-ports-790914a7725a0edb8fd11e7a0efb2046ea724107.tar.bz2
marcuscom-ports-790914a7725a0edb8fd11e7a0efb2046ea724107.tar.lz
marcuscom-ports-790914a7725a0edb8fd11e7a0efb2046ea724107.tar.xz
marcuscom-ports-790914a7725a0edb8fd11e7a0efb2046ea724107.tar.zst
marcuscom-ports-790914a7725a0edb8fd11e7a0efb2046ea724107.zip
Add pkg-config at 0.18.1.
I'm adding it here rather than into the FreeBSD CVS repo because during the last pkg-config update, there were some breakages. Also, there is some handling for potentially different --libs output, so it's best that it percolate here for a while. It's probably safe to wait and merge along with the gnome-2.12 update. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@4192 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel/pkgconfig/files/patch-parse.c')
-rw-r--r--devel/pkgconfig/files/patch-parse.c34
1 files changed, 34 insertions, 0 deletions
diff --git a/devel/pkgconfig/files/patch-parse.c b/devel/pkgconfig/files/patch-parse.c
new file mode 100644
index 000000000..1f8fc6d91
--- /dev/null
+++ b/devel/pkgconfig/files/patch-parse.c
@@ -0,0 +1,34 @@
+
+$FreeBSD: ports/devel/pkgconfig/files/patch-parse.c,v 1.1 2001/08/01 17:46:50 sobomax Exp $
+
+--- parse.c 2001/08/01 07:24:17 1.1
++++ parse.c 2001/08/01 07:25:02
+@@ -952,9 +952,9 @@
+ {
+ char *output;
+
+- debug_spew ("Calling glib-config\n");
++ debug_spew ("Calling glib12-config\n");
+
+- pkg->version = backticks ("glib-config --version");
++ pkg->version = backticks ("glib12-config --version");
+ if (pkg->version == NULL)
+ {
+ g_free (pkg);
+@@ -965,12 +965,12 @@
+ pkg->key = g_strdup ("glib");
+ pkg->description = g_strdup ("C Utility Library");
+
+- output = backticks ("glib-config --libs");
+- parse_libs (pkg, output, "glib-config");
++ output = backticks ("glib12-config --libs");
++ parse_libs (pkg, output, "glib12-config");
+ g_free (output);
+
+- output = backticks ("glib-config --cflags");
+- parse_cflags (pkg, output, "glib-config");
++ output = backticks ("glib12-config --cflags");
++ parse_cflags (pkg, output, "glib12-config");
+ g_free (output);
+
+ return pkg;