Revision
139690
Author
michaelld@macports.org
Date
2015-08-24 13:52:54 -0700 (Mon, 24 Aug 2015)

Log Message

gqrx*: remove indirect dependency on Volk added by pkgconfig.

Modified Paths

Diff

Modified: trunk/dports/science/gqrx/Portfile (139689 => 139690)


--- trunk/dports/science/gqrx/Portfile	2015-08-24 20:51:33 UTC (rev 139689)
+++ trunk/dports/science/gqrx/Portfile	2015-08-24 20:52:54 UTC (rev 139690)
@@ -22,7 +22,7 @@
 
     github.setup        csete gqrx 222bf623983b144b143c94c3ed6cb7c91cd43d31
     version             20150621
-    revision            2
+    revision            3
 
     checksums           rmd160 a5af121f08f4b114b264324006b283ba4abe0fb9 \
                         sha256 5951c7c3d7dddc37332b1aa5825dfc373aa2de984fd3279ddedb2b21b3007337
@@ -89,7 +89,7 @@
     name                gqrx-legacy
 
     version             2.0_20130703
-    revision            2
+    revision            3
 
     checksums           rmd160 eba005dfad221997a7d80a8d8cd132cfea209667 \
                         sha256 83403f9d2c05d10a8d8df76a4282c41b9d3547ceccaebecc92c1d3f0835a6f59
@@ -178,6 +178,14 @@
 
     configure.post_args gqrx.pro
 
+    post-configure {
+
+        # remove indirect dependency on Volk added by pkgconfig
+
+        reinplace "s|-lvolk ||g" ${worksrcpath}/Makefile
+
+    }
+
     post-destroot {
 
         # link the executable back to $qt_bins_dir, and, if $qt_dir is