aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/gtk20/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/gtk20/Makefile')
-rw-r--r--x11-toolkits/gtk20/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/x11-toolkits/gtk20/Makefile b/x11-toolkits/gtk20/Makefile
index 014cf40de69..cb39cee7ab8 100644
--- a/x11-toolkits/gtk20/Makefile
+++ b/x11-toolkits/gtk20/Makefile
@@ -8,6 +8,7 @@
PORTNAME= gtk
PORTVERSION= 2.8.6
+PORTREVISION= 1
CATEGORIES= x11-toolkits
MASTER_SITES= ${MASTER_SITE_GNOME:S,%SUBDIR%,sources/gtk+/2.8,} \
ftp://ftp.gtk.org/pub/gtk/v2.8/ \
@@ -95,6 +96,10 @@ post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g ; \
s|%%X11BASE%%|${X11BASE}|g' \
${WRKSRC}/gtk/xdgmime/xdgmime.c
+# GnomeVFS needs pthread; gtk-demo may use GnomeVFS (via GtkFileChooser)
+ @${REINPLACE_CMD} -e 's|@CFLAGS@|& ${PTHREAD_CFLAGS}|; \
+ s|@LDFLAGS@|& ${PTHREAD_LIBS}|' \
+ ${WRKSRC}/demos/gtk-demo/Makefile.in
pre-build:
@${RM} -rf ${WRKSRC}/docs/gtk.info*