Modified: trunk/dports/gnome/yelp/Portfile (107447 => 107448)
--- trunk/dports/gnome/yelp/Portfile 2013-06-29 16:05:35 UTC (rev 107447)
+++ trunk/dports/gnome/yelp/Portfile 2013-06-29 17:18:25 UTC (rev 107448)
@@ -5,6 +5,7 @@
name yelp
version 2.31.6
+revision 1
license GPL-2
set branch [join [lrange [split ${version} .] 0 1] .]
description Help browser for GNOME.
@@ -40,16 +41,12 @@
patch-yelp.desktop.in.in.diff \
patch-configure.ac.diff
-compiler.blacklist clang
-
#
-# compiling yelp with -O2 produces
-# a binary that segfaults on startup
+# compiling yelp-2.31.6 with -O1 or higher produces a binary that segfaults on startup
# TODO: find out why
#
+configure.optflags-delete -Os -O1 -O2 -O3
-configure.optflags-delete -O2
-
use_autoreconf yes
autoreconf.args -fvi
@@ -60,6 +57,9 @@
--disable-silent-rules \
--enable-debug
+# This is masking a real bug which should be fixed...
+configure.cflags-append -Wno-error=return-type
+
post-activate {
system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas"
system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"