Remove the ${libdir}/gtk-2.0/include from its gdk-2.0.pc because the directory

does not exist, since we have moved it to ${includedir}/gtk-2.0. Bump the
PORTREVISION because it sometimes caused GCC crash. It's fixed in newer GCC,
but the fix is part of GPL3 that can't be merged into base system's GCC.

PR:		ports/168004
Submitted by:	Makoto Kishimoto <ksmakoto@dd.iij4u.or.jp>
This commit is contained in:
Jeremy Messenger 2012-05-20 16:34:08 +00:00
parent 4bc0dc3de0
commit 814b79b62b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=297041
2 changed files with 9 additions and 1 deletions

View file

@ -9,7 +9,7 @@
PORTNAME= gtk
PORTVERSION= 2.24.6
PORTREVISION?= 0
PORTREVISION?= 1
CATEGORIES= x11-toolkits
MASTER_SITES= ${MASTER_SITE_GNOME:S,%SUBDIR%,sources/gtk+/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}/,} \
ftp://ftp.gtk.org/pub/gtk/%SUBDIR%/ \

View file

@ -0,0 +1,8 @@
--- gdk-2.0.pc.in.ORG 2012-05-17 13:07:34.000000000 +0900
+++ gdk-2.0.pc.in 2012-05-17 13:08:59.000000000 +0900
@@ -9,4 +9,4 @@
Version: @VERSION@
Requires: @GDK_PACKAGES@
Libs: -L${libdir} -lgdk-${target}-@GTK_API_VERSION@ @GDK_EXTRA_LIBS@
-Cflags: -I${includedir}/gtk-2.0 -I${libdir}/gtk-2.0/include @GDK_EXTRA_CFLAGS@
+Cflags: -I${includedir}/gtk-2.0 @GDK_EXTRA_CFLAGS@