Annotation of pkgsrc/ham/gnuradio-uhd/Makefile, Revision 1.31
1.31 ! nia 1: # $NetBSD: Makefile,v 1.30 2021/06/27 08:09:00 tnn Exp $
1.1 mef 2:
3: PKGNAME= gnuradio-uhd-${VERSION}
1.31 ! nia 4: PKGREVISION= 1
1.1 mef 5: COMMENT= Uhd-based encoding and decoding algorithms for GNU Radio
6:
7: .include "../../ham/gnuradio-core/Makefile.common"
8: .include "../../ham/gnuradio-core/Nocore.mk"
9:
1.22 tnn 10: CMAKE_ARGS+= -DENABLE_DEFAULT=OFF
11: CMAKE_ARGS+= -DENABLE_GR_UHD=ON
12: CMAKE_ARGS+= -DENABLE_PYTHON=ON
13: CMAKE_ARGS+= -DENABLE_GRC=ON
14:
15: PLIST_MINUS+= companion
1.1 mef 16:
1.2 dbj 17: .if ${OPSYS} != "Darwin"
18: # XXX dbj -- i'm not sure why this is necessary, but hard coding
19: # the .so causes problems on Darwin. I've also set UHD_DIR in
20: # the uhd buildlink3.mk file, so it finds the buildlink header files.
21:
1.1 mef 22: CMAKE_ARGS+= -DUHD_LIBRARIES=${PREFIX}/lib/libuhd.so
23: CMAKE_ARGS+= -DUHD_INCLUDE_DIRS=${PREFIX}/include/uhd/usrp
1.2 dbj 24: .endif
1.1 mef 25:
26: .include "../../ham/uhd/buildlink3.mk"
27:
28: .include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>