pkgsrc-Changes archive

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

CVS commit: pkgsrc/ham/gnuradio-core



Module Name:    pkgsrc
Committed By:   gdt
Date:           Wed Aug 28 16:53:03 UTC 2024

Modified Files:
        pkgsrc/ham/gnuradio-core: options.mk

Log Message:
ham/gnuradio-core: Drop ninja option

The currently-documented approach to using ninja for cmake builds is
to set "CMAKE_GENERATOR=ninja".  That works fine for gnuradio-core, so
drop the (default-off) option that was a bespoke implementation of the
same thing.

Guess that ~nobody was using this, and that if n were, that them
pruning it and setting CMAKE_GENERATOR=ninja is less total work than
adding compat, maintaining it, and eventually cleaning it up.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 pkgsrc/ham/gnuradio-core/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/ham/gnuradio-core/options.mk
diff -u pkgsrc/ham/gnuradio-core/options.mk:1.13 pkgsrc/ham/gnuradio-core/options.mk:1.14
--- pkgsrc/ham/gnuradio-core/options.mk:1.13    Sun Aug 25 06:18:54 2024
+++ pkgsrc/ham/gnuradio-core/options.mk Wed Aug 28 16:53:03 2024
@@ -1,30 +1,13 @@
-# $NetBSD: options.mk,v 1.13 2024/08/25 06:18:54 wiz Exp $
+# $NetBSD: options.mk,v 1.14 2024/08/28 16:53:03 gdt Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.gnuradio
-PKG_SUPPORTED_OPTIONS= ninja-build filter-design alsa
-# ninja-build is said supported, but not working
+PKG_SUPPORTED_OPTIONS= filter-design alsa
 # alsa        is said supported, but not good on NetBSD
 
-# Adding ninja-build to following line (now) stops
-# [164/850] cd /PATH/ham/gnuradio-core/work/gnuradio-3.7.5/build/gr-audio/swig && ""
-# FAILED: cd /PATH/ham/gnuradio-core/work/gnuradio-3.7.5/build/gr-audio/swig && ""
-# : permission denied
-
 PKG_SUGGESTED_OPTIONS= filter-design
 
 .include "../../mk/bsd.options.mk"
 
-.if !empty(PKG_OPTIONS:Mninja-build)
-CMAKE_CONFIGURE_ARGS+= -GNinja
-TOOL_DEPENDS+= ninja-build-[0-9]*:../../devel/ninja-build
-
-do-build:
-       (cd ${WRKSRC}/build; ninja)
-.else
-#do-build:
-#      (cd ${WRKSRC}/build; ${BUILD_MAKE_CMD})
-.endif
-
 .if !empty(PKG_OPTIONS:Mfilter-design)
 PYTHON_VERSIONS_INCOMPATIBLE+= 27 38
 DEPENDS+=      ${PYPKGPREFIX}-qtgraph-qt5-[0-9]*:../../x11/py-qtgraph-qt5



Home | Main Index | Thread Index | Old Index