diff options
author | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2008-02-05 03:22:00 +0800 |
---|---|---|
committer | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2008-02-05 03:22:00 +0800 |
commit | e2cdc4292ddd8031accaaff3599bd6b366ccb3cc (patch) | |
tree | 3c8b35ea14f812a6084a2914a3262aaec874e30f /devel/pkg-config | |
parent | 9111de84ec2a3d0527193c647637606101c7a074 (diff) | |
download | marcuscom-ports-e2cdc4292ddd8031accaaff3599bd6b366ccb3cc.tar marcuscom-ports-e2cdc4292ddd8031accaaff3599bd6b366ccb3cc.tar.gz marcuscom-ports-e2cdc4292ddd8031accaaff3599bd6b366ccb3cc.tar.bz2 marcuscom-ports-e2cdc4292ddd8031accaaff3599bd6b366ccb3cc.tar.lz marcuscom-ports-e2cdc4292ddd8031accaaff3599bd6b366ccb3cc.tar.xz marcuscom-ports-e2cdc4292ddd8031accaaff3599bd6b366ccb3cc.tar.zst marcuscom-ports-e2cdc4292ddd8031accaaff3599bd6b366ccb3cc.zip |
Add a patch to fix when PKG_CONFIG_SYSROOT_DIR is set, on the all but the -I
and -L options are removed from --cflags and --libs respectively. This patch
was took from mailing list and has been merged in upstream.
http://lists.freedesktop.org/archives/pkg-config/2008-January/000255.html
I knew about pkg-config 0.23 and its bug last month, so I didn't update it and
hoping that they will release next version soon. I guess they didn't.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@10339 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel/pkg-config')
-rw-r--r-- | devel/pkg-config/Makefile | 3 | ||||
-rw-r--r-- | devel/pkg-config/files/patch-pkg.c | 14 |
2 files changed, 16 insertions, 1 deletions
diff --git a/devel/pkg-config/Makefile b/devel/pkg-config/Makefile index 9a46a19df..1d3bdb6b8 100644 --- a/devel/pkg-config/Makefile +++ b/devel/pkg-config/Makefile @@ -3,11 +3,12 @@ # Whom: Maxim Sobolev <sobomax@FreeBSD.org> # # $FreeBSD$ -# $MCom: ports/devel/pkg-config/Makefile,v 1.9 2007/07/01 20:46:42 mezz Exp $ +# $MCom: ports/devel/pkg-config/Makefile,v 1.11 2008/02/04 19:10:15 ahze Exp $ # PORTNAME= pkg-config PORTVERSION= 0.23 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://pkgconfig.freedesktop.org/releases/ DIST_SUBDIR= gnome2 diff --git a/devel/pkg-config/files/patch-pkg.c b/devel/pkg-config/files/patch-pkg.c new file mode 100644 index 000000000..48315feb9 --- /dev/null +++ b/devel/pkg-config/files/patch-pkg.c @@ -0,0 +1,14 @@ +diff -Naur pkg-config-0.23-old/pkg.c pkg-config-0.23-new/pkg.c +--- pkg-config-0.23-old/pkg.c 2008-01-16 13:59:49.000000000 -0800 ++++ pkg.c 2008-01-22 15:00:55.000000000 -0800 +@@ -483,6 +483,10 @@ + g_string_append (str, pcsysrootdir); + g_string_append (str, tmpstr+2); + } ++ else ++ { ++ g_string_append (str, tmpstr); ++ } + } + else + { |