pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/ham/uhd set UHD_DIR in the environment since gnuradio-...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b24db6a29136
branches:  trunk
changeset: 645338:b24db6a29136
user:      dbj <dbj%pkgsrc.org@localhost>
date:      Tue Jan 27 06:38:49 2015 +0000

description:
set UHD_DIR in the environment since gnuradio-uhd uses it as a hint to find uhd

diffstat:

 ham/uhd/buildlink3.mk |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r e92ea5bcebe1 -r b24db6a29136 ham/uhd/buildlink3.mk
--- a/ham/uhd/buildlink3.mk     Tue Jan 27 06:36:27 2015 +0000
+++ b/ham/uhd/buildlink3.mk     Tue Jan 27 06:38:49 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.1 2014/09/08 07:12:05 mef Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2015/01/27 06:38:49 dbj Exp $
 
 BUILDLINK_TREE+=        uhd
 
@@ -7,6 +7,10 @@
 
 BUILDLINK_API_DEPENDS.uhd+=    uhd>=2.22
 BUILDLINK_PKGSRCDIR.uhd?=              ../../ham/uhd
+
+# gnuradio-uhd FindUHD.cmake uses this env var as a hint for finding uhd
+CONFIGURE_ENV+=                UHD_DIR=${BUILDLINK_DIR:Q}
+
 .endif # UHD_BUILDLINK3_MK
 
 BUILDLINK_TREE+=        -uhd



Home | Main Index | Thread Index | Old Index