Revision
105538
Author
michaelld@macports.org
Date
2013-04-23 18:43:14 -0700 (Tue, 23 Apr 2013)

Log Message

gr-osmosdr: fix linking issue with Boost libraries.

Modified Paths

Diff

Modified: trunk/dports/science/gr-osmosdr/Portfile (105537 => 105538)


--- trunk/dports/science/gr-osmosdr/Portfile	2013-04-24 01:25:22 UTC (rev 105537)
+++ trunk/dports/science/gr-osmosdr/Portfile	2013-04-24 01:43:14 UTC (rev 105538)
@@ -31,6 +31,12 @@
 depends_lib-append	path:lib/libgnuradio-audio.dylib:gnuradio \
                     port:rtl-sdr
 
+post-patch {
+    # temporary fix for correct linkage with required Boost libraries;
+    # will be fixed in future commit.
+    reinplace "s@find_package(Boost)@find_package(Boost COMPONENTS thread system)@" ${worksrcpath}/CMakeLists.txt
+}
+
 # do VPATH build
 
 set vpath           ${workpath}/build