[109110] trunk/dports/science/maniview/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Wed Aug 7 19:18:11 PDT 2013


Revision: 109110
          https://trac.macports.org/changeset/109110
Author:   jeremyhu at macports.org
Date:     2013-08-07 19:18:11 -0700 (Wed, 07 Aug 2013)
Log Message:
-----------
maniview: Build fixes, use clang

Modified Paths:
--------------
    trunk/dports/science/maniview/Portfile

Modified: trunk/dports/science/maniview/Portfile
===================================================================
--- trunk/dports/science/maniview/Portfile	2013-08-08 02:11:43 UTC (rev 109109)
+++ trunk/dports/science/maniview/Portfile	2013-08-08 02:18:11 UTC (rev 109110)
@@ -27,9 +27,13 @@
 depends_lib                 port:geomview \
                             port:xforms
 
-# I'm not certain why this is blacklisted, and dependencies fail to build, so I'm just preserving previous functionality --jeremyhu
-compiler.blacklist clang
+post-patch {
+    # Conflicts with POSIX getline
+    reinplace "s:getline:maniview_getline:g" ${worksrcpath}/maniview.c
+}
 
+configure.cflags -std=gnu89
+
 post-destroot {
     delete ${destroot}${prefix}/share/geomview/groups
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130807/7dcaea68/attachment.html>


More information about the macports-changes mailing list