[126257] users/devans/GNOME-3/stable/dports/gnome/evince

devans at macports.org devans at macports.org
Mon Oct 6 09:29:59 PDT 2014


Revision: 126257
          https://trac.macports.org/changeset/126257
Author:   devans at macports.org
Date:     2014-10-06 09:29:59 -0700 (Mon, 06 Oct 2014)
Log Message:
-----------
GNOME-3/stable: evince, disable browser plugin if libc++ is not configured rather than OS version, make sure g-ir-scanner uses the right compiler.

Modified Paths:
--------------
    users/devans/GNOME-3/stable/dports/gnome/evince/Portfile

Property Changed:
----------------
    users/devans/GNOME-3/stable/dports/gnome/evince/


Property changes on: users/devans/GNOME-3/stable/dports/gnome/evince
___________________________________________________________________
Modified: svn:mergeinfo
   - /trunk/dports/gnome/evince:108265-119026
/users/devans/GNOME-3/unstable/dports/gnome/evince:114069-118152,121463-125801
   + /trunk/dports/gnome/evince:108265-126152
/users/devans/GNOME-3/unstable/dports/gnome/evince:114069-118152,121463-125801

Modified: users/devans/GNOME-3/stable/dports/gnome/evince/Portfile
===================================================================
--- users/devans/GNOME-3/stable/dports/gnome/evince/Portfile	2014-10-06 15:24:30 UTC (rev 126256)
+++ users/devans/GNOME-3/stable/dports/gnome/evince/Portfile	2014-10-06 16:29:59 UTC (rev 126257)
@@ -72,6 +72,16 @@
                 --enable-comics \
                 --enable-t1lib
 
+# browser plugin requires -std=c++11 -stdlib=libc++
+# disable plugin if libc++ is not configured
+
+if {${configure.cxx_stdlib} ne "libc++"} {
+    configure.args-append   --disable-browser-plugin
+}
+
+# gobject-introspection uses g-ir-scanner, which uses $CC from env
+build.args-append   CC="${configure.cc} ${configure.cc_archflags}"
+
 variant djvu description {Support for djvu documents using djvulibre} {
     configure.args-replace --disable-djvu --enable-djvu
     depends_lib-append port:djvulibre
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141006/6d4e077e/attachment.html>


More information about the macports-changes mailing list