[134325] trunk/dports/devel/thrift/Portfile

blair at macports.org blair at macports.org
Sun Mar 22 15:56:34 PDT 2015


Revision: 134325
          https://trac.macports.org/changeset/134325
Author:   blair at macports.org
Date:     2015-03-22 15:56:34 -0700 (Sun, 22 Mar 2015)
Log Message:
-----------
thrift: enable testing.

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

Modified: trunk/dports/devel/thrift/Portfile
===================================================================
--- trunk/dports/devel/thrift/Portfile	2015-03-22 22:56:16 UTC (rev 134324)
+++ trunk/dports/devel/thrift/Portfile	2015-03-22 22:56:34 UTC (rev 134325)
@@ -41,6 +41,11 @@
     reinplace \
         "s#-l:libboost_unit_test_framework\.a#${prefix}/lib/libboost_unit_test_framework-mt.a#g" \
         ${worksrcpath}/lib/cpp/test/Makefile.in
+    foreach l {filesystem program_options system} {
+        reinplace \
+            "s#-lboost_${l}#-lboost_${l}-mt#g" \
+            ${worksrcpath}/test/cpp/Makefile.in
+    }
 }
 
 conflicts_build     ${name}
@@ -105,6 +110,9 @@
     depends_lib-append      port:erlang
 }
 
+test.run        yes
+test.target     check
+
 livecheck.type  regex
 livecheck.url   http://www.apache.org/dist/thrift/
 livecheck.regex {(\d+(?:\.\d+)*)/}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150322/21ca3f53/attachment.html>


More information about the macports-changes mailing list