[107448] trunk/dports/gnome/yelp/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Sat Jun 29 10:18:25 PDT 2013


Revision: 107448
          https://trac.macports.org/changeset/107448
Author:   jeremyhu at macports.org
Date:     2013-06-29 10:18:25 -0700 (Sat, 29 Jun 2013)
Log Message:
-----------
yelp: Build with clang

Modified Paths:
--------------
    trunk/dports/gnome/yelp/Portfile

Modified: trunk/dports/gnome/yelp/Portfile
===================================================================
--- 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"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130629/06e33d33/attachment.html>


More information about the macports-changes mailing list