summaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authorgusi <gusi@df743ca5-7f9a-e211-a948-0013205c9059>2014-04-06 16:52:18 +0800
committergusi <gusi@df743ca5-7f9a-e211-a948-0013205c9059>2014-04-06 16:52:18 +0800
commit8e8611b1d3f0d9afbd4e9544752224739965ed39 (patch)
tree72865a9d2f453b3878f6b85e55d392e8a5468bbe /x11-toolkits
parent0ac2e18d1655aa8bcf7ddc9954646bc901794ce4 (diff)
downloadmarcuscom-ports-experimental-8e8611b1d3f0d9afbd4e9544752224739965ed39.tar.gz
marcuscom-ports-experimental-8e8611b1d3f0d9afbd4e9544752224739965ed39.tar.zst
marcuscom-ports-experimental-8e8611b1d3f0d9afbd4e9544752224739965ed39.zip
Building gtk30 without debug makes the compilation to be built with -DG_DISABLE_CHECKS. That
makes g_return_if_fail and g_return_val_if_fail not to be evaluated. Evolution fails to start because of that. [1] https://developer.gnome.org/glib/2.37/glib-Warnings-and-Assertions.html#g-return-if-fail [2] https://bugzilla.gnome.org/show_bug.cgi?id=727687 git-svn-id: svn://creme-brulee.marcuscom.com/ports-experimental/trunk@19455 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/gtk30/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/x11-toolkits/gtk30/Makefile b/x11-toolkits/gtk30/Makefile
index 11e139b..b29ee0d 100644
--- a/x11-toolkits/gtk30/Makefile
+++ b/x11-toolkits/gtk30/Makefile
@@ -5,7 +5,7 @@
PORTNAME= gtk
PORTVERSION= 3.12.0
-PORTREVISION?= 1
+PORTREVISION?= 2
CATEGORIES= x11-toolkits
MASTER_SITES= GNOME
MASTER_SITE_SUBDIR= sources/gtk+/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
@@ -71,6 +71,8 @@ post-patch:
@${REINPLACE_CMD} -e 's|@LN_S@|${LN} -sf|' ${WRKSRC}/gtk/Makefile.in
@${REINPLACE_CMD} -e 's|file,cups|file,cups,lpr|' \
${WRKSRC}/gtk/Makefile.in
+ @${REINPLACE_CMD} -e 's|-DG_DISABLE_CHECKS||' \
+ ${WRKSRC}/configure
pre-configure:
.if !exists(${LOCALBASE}/libdata/pkgconfig/cairo-xlib.pc)