head 1.1; access; symbols pkgsrc-2026Q1:1.1.0.4 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.2 pkgsrc-2025Q4-base:1.1; locks; strict; comment @# @; 1.1 date 2025.11.28.21.03.12; author dkazankov; state Exp; branches; next ; commitid hy2TPnhtgRtkCmkG; desc @@ 1.1 log @devel/gnatcoverage: add new package 25.2.0 Tool to analyze and report program coverage. Part of Dynamic Analysis Suite (DAS). @ text @$NetBSD: patch-Makefile.in,v 1.0 2024/07/11 17:00:00 dkazankov Exp $ Add NetBSD support for adapters Add options for gprbuild Add NetBSD support --- tools/gnatcov/Makefile.orig 2025-06-02 17:05:39.000000000 +0300 +++ tools/gnatcov/Makefile @@@@ -119,6 +119,14 @@@@ endif endif +ifeq ($(HOST_OS), bsd) +ifeq ($(BITS_ARCH), 32) +DEFAULT_ADAPTERS = +else +DEFAULT_ADAPTERS = trace32 +endif +endif + ADAPTERS_LIST=$(DEFAULT_ADAPTERS) PROCESSORS=0 @@@@ -149,7 +157,7 @@@@ $(EXTRA_ADAFLAGS) \ -largs $(LD_FLAGS) \ -cargs:c++ $(CXXFLAGS) \ - -gargs + -gargs $(GPRBUILD_OPTIONS) INSTR_COMMON_ARGS=\ -j$(PROCESSORS) \ -P gnatcov.gpr \ @@@@ -309,7 +317,7 @@@@ # which has its own extra info embedded and eventually installs just all what # the distrib tree contains. We don't want any toplevel item there. -.PHONY: distrib-linux-extra distrib-windows-extra distrib +.PHONY: distrib-linux-extra distrib-windows-extra distrib-bsd-extra distrib distrib-linux-extra: [ -f COPYING3 ] || $(CP) ../../COPYING3 . @@@@ -321,6 +329,8 @@@@ distrib-windows-extra: +distrib-bsd-extra: + distrib-common: install-adapters distrib-${HOST_OS}-extra distrib-without-doc: distrib-common install-without-doc distrib: distrib-without-doc @