| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: options.mk,v 1.3 2015/01/27 06:01:44 dbj Exp $ | | 1 | # $NetBSD: options.mk,v 1.4 2019/06/15 17:54:22 adam Exp $ |
2 | | | 2 | |
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.gnuradio | | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.gnuradio |
4 | PKG_SUPPORTED_OPTIONS= ninja-build filter-design alsa | | 4 | PKG_SUPPORTED_OPTIONS= ninja-build filter-design alsa |
5 | # ninja-build is said supported, but not working | | 5 | # ninja-build is said supported, but not working |
6 | # alas is said supported, but not good on NetBSD | | 6 | # alas is said supported, but not good on NetBSD |
7 | | | 7 | |
8 | # Adding ninja-build to following line (now) stops | | 8 | # Adding ninja-build to following line (now) stops |
9 | # [164/850] cd /PATH/ham/gnuradio-core/work/gnuradio-3.7.5/build/gr-audio/swig && "" | | 9 | # [164/850] cd /PATH/ham/gnuradio-core/work/gnuradio-3.7.5/build/gr-audio/swig && "" |
10 | # FAILED: cd /PATH/ham/gnuradio-core/work/gnuradio-3.7.5/build/gr-audio/swig && "" | | 10 | # FAILED: cd /PATH/ham/gnuradio-core/work/gnuradio-3.7.5/build/gr-audio/swig && "" |
11 | # : permission denied | | 11 | # : permission denied |
12 | | | 12 | |
13 | PKG_SUGGESTED_OPTIONS= filter-design | | 13 | PKG_SUGGESTED_OPTIONS= filter-design |
14 | | | 14 | |
| @@ -17,25 +17,25 @@ PKG_SUGGESTED_OPTIONS= filter-design | | | @@ -17,25 +17,25 @@ PKG_SUGGESTED_OPTIONS= filter-design |
17 | .if !empty(PKG_OPTIONS:Mninja-build) | | 17 | .if !empty(PKG_OPTIONS:Mninja-build) |
18 | CMAKE_ARGS+= -GNinja | | 18 | CMAKE_ARGS+= -GNinja |
19 | BUILD_DEPENDS+= ninja-build-[0-9]*:../../devel/ninja-build | | 19 | BUILD_DEPENDS+= ninja-build-[0-9]*:../../devel/ninja-build |
20 | | | 20 | |
21 | do-build: | | 21 | do-build: |
22 | (cd ${WRKSRC}/build; ninja) | | 22 | (cd ${WRKSRC}/build; ninja) |
23 | .else | | 23 | .else |
24 | do-build: | | 24 | do-build: |
25 | (cd ${WRKSRC}/build; ${BUILD_MAKE_CMD}) | | 25 | (cd ${WRKSRC}/build; ${BUILD_MAKE_CMD}) |
26 | .endif | | 26 | .endif |
27 | | | 27 | |
28 | .if !empty(PKG_OPTIONS:Mfilter-design) | | 28 | .if !empty(PKG_OPTIONS:Mfilter-design) |
29 | # Running gr_filter_design asks for the package | | 29 | # Running gr_filter_design asks for the package |
30 | DEPENDS+= ${PYPKGPREFIX}-scipy-[0-9]*:../../math/py-scipy | | 30 | DEPENDS+= ${PYPKGPREFIX}-scipy-[0-9]*:../../math/py-scipy12 |
31 | .endif | | 31 | .endif |
32 | | | 32 | |
33 | .if !empty(PKG_OPTIONS:Malsa) | | 33 | .if !empty(PKG_OPTIONS:Malsa) |
34 | .include "../../audio/alsa-lib/buildlink3.mk" | | 34 | .include "../../audio/alsa-lib/buildlink3.mk" |
35 | ALSA_ENABLED= | | 35 | ALSA_ENABLED= |
36 | CONF_FILES+= ${EGDIR}/gr-audio-alsa.conf ${PKG_SYSCONFDIR}/gr-audio-alsa.conf | | 36 | CONF_FILES+= ${EGDIR}/gr-audio-alsa.conf ${PKG_SYSCONFDIR}/gr-audio-alsa.conf |
37 | PLIST_SRC+= ${PKGDIR}/PLIST.alsa | | 37 | PLIST_SRC+= ${PKGDIR}/PLIST.alsa |
38 | .else | | 38 | .else |
39 | # disable ALSA, see patches/patch-gr-audio_lib_CMakeLists.txt | | 39 | # disable ALSA, see patches/patch-gr-audio_lib_CMakeLists.txt |
40 | ALSA_ENABLED= \# | | 40 | ALSA_ENABLED= \# |
41 | .endif | | 41 | .endif |