The following reply was made to PR pkg/59348; it has been noted by GNATS.
From: Thomas Klausner <wiz%gatalith.at@localhost>
To: NetBSD bugtracking <gnats-bugs%NetBSD.org@localhost>
Cc:
Subject: Re: pkg/59348: ham/gr-osmosdr 2025Q1 does not work
Date: Sat, 17 May 2025 18:40:59 +0200
  On Sat, May 17, 2025 at 06:29:36PM +0200, Ramiro Aceves wrote:
  > Forgot to answer what is the proper way to set a certain gcc and g++ version
  > in pkgsrc ham/gr-osmosdr Makefile.
  
  You can set
  
  GCC_REQD+=	12
  
  but we usually prefer setting required compiler features by setting
  USE_CC_FEATURES or USE_CXX_FEATURES, see pkgsrc/mk/compiler.mk for
  details.
   Thomas