aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2012-05-21 00:34:08 +0800
committermezz <mezz@FreeBSD.org>2012-05-21 00:34:08 +0800
commit09be037fcba7b8149b9dce02e10d428bfb4d51fb (patch)
tree239687500fddc3a8521a6975bf0d1186d23ac382 /x11-toolkits
parent5e1bb49ee6b8c01d097c2c5caba29576f29178f1 (diff)
downloadfreebsd-ports-gnome-09be037fcba7b8149b9dce02e10d428bfb4d51fb.tar.gz
freebsd-ports-gnome-09be037fcba7b8149b9dce02e10d428bfb4d51fb.tar.zst
freebsd-ports-gnome-09be037fcba7b8149b9dce02e10d428bfb4d51fb.zip
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>
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/gtk20/Makefile2
-rw-r--r--x11-toolkits/gtk20/files/patch-gdk-2.0.pc.in8
2 files changed, 9 insertions, 1 deletions
diff --git a/x11-toolkits/gtk20/Makefile b/x11-toolkits/gtk20/Makefile
index 49f1161c06b9..7483e51a0426 100644
--- a/x11-toolkits/gtk20/Makefile
+++ b/x11-toolkits/gtk20/Makefile
@@ -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%/ \
diff --git a/x11-toolkits/gtk20/files/patch-gdk-2.0.pc.in b/x11-toolkits/gtk20/files/patch-gdk-2.0.pc.in
new file mode 100644
index 000000000000..3c89e225622a
--- /dev/null
+++ b/x11-toolkits/gtk20/files/patch-gdk-2.0.pc.in
@@ -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@