[121267] trunk/dports/devel/capnproto/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Sat Jun 21 13:12:36 PDT 2014


Revision: 121267
          https://trac.macports.org/changeset/121267
Author:   jeremyhu at macports.org
Date:     2014-06-21 13:12:36 -0700 (Sat, 21 Jun 2014)
Log Message:
-----------
capnproto: Don't assume prefix is /opt/local

Modified Paths:
--------------
    trunk/dports/devel/capnproto/Portfile

Modified: trunk/dports/devel/capnproto/Portfile
===================================================================
--- trunk/dports/devel/capnproto/Portfile	2014-06-21 20:11:02 UTC (rev 121266)
+++ trunk/dports/devel/capnproto/Portfile	2014-06-21 20:12:36 UTC (rev 121267)
@@ -46,13 +46,10 @@
 }
 
 configure.cppflags-replace \
-                        -I/opt/local/include -isystem/opt/local/include
+                        -I${prefix}/include -isystem ${prefix}/include
 
-if {[info exists configure.cxx_stdlib]} {
-    configure.cxx_stdlib    libc++
-}
-
-if {[string match *clang* ${configure.compiler}]} {
+configure.cxx_stdlib    libc++
+if {[string match *clang* ${configure.cxx}]} {
     configure.ldflags-append    -stdlib=libc++
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140621/4bfddcfd/attachment.html>


More information about the macports-changes mailing list