head 1.2; access; symbols pkgsrc-2026Q1:1.2.0.6 pkgsrc-2026Q1-base:1.2 pkgsrc-2025Q4:1.2.0.4 pkgsrc-2025Q4-base:1.2 pkgsrc-2025Q3:1.2.0.2 pkgsrc-2025Q3-base:1.2; locks; strict; comment @# @; 1.2 date 2025.09.13.12.06.11; author dkazankov; state Exp; branches; next 1.1; commitid 34xDkLtQElrz5yaG; 1.1 date 2025.09.04.10.44.40; author dkazankov; state Exp; branches; next ; commitid SGGF1QVYK3mxVn9G; desc @@ 1.2 log @ada-templates-parser-25: fix default build procedure It tried build shared libraries that shouldn't happen by default. @ text @$NetBSD: patch-Makefile,v 1.1 2025/09/04 10:44:40 dkazankov Exp $ Fix shared library build controller Add NetBSD support --- Makefile.orig 2024-08-23 18:53:29.000000000 +0300 +++ Makefile @@@@ -32,9 +32,10 @@@@ GNAT := gnat -ENABLE_STATIC = true -ENABLE_SHARED := $(shell $(GNAT) make -c -q -p -XTARGET=$(TARGET) \ +ENABLE_STATIC ?= true +SHARED_SUPPORTED := $(shell $(GNAT) make -c -q -p -XTARGET=$(TARGET) \ -Pconfig/setup/test_shared 2>/dev/null && echo "true") +ENABLE_SHARED ?= $(SHARED_SUPPORTED) ifeq ($(shell gnat ls -Pxmlada_dom 2>&1 | grep 'project file .* not found'),) TP_XMLADA := Installed @@@@ -57,6 +58,8 @@@@ GPRINSTALL = gprinstall GPRCLEAN = gprclean +-include makefile.setup + # Compute the default library kind, and possibly the other that are to # be built. @@@@ -101,14 +104,16 @@@@ ifeq ($(strip $(findstring freebsd, $(TARGET))),freebsd) PRJ_TARGET=FreeBSD else +ifeq ($(strip $(findstring netbsd, $(TARGET))),netbsd) + PRJ_TARGET=FreeBSD +else PRJ_TARGET=UNIX endif endif endif endif endif - --include makefile.setup +endif ALL_OPTIONS := \ DEBUG \ @ 1.1 log @textproc/ada-templates-parser-25: add new package 25.0.0 Tools to create templated text streams, such as dynamic HTML documents @ text @d1 1 a1 1 $NetBSD: patch-Makefile.conf,v 1.0 2024/12/17 20:00:00 dkazankov Exp $ d3 1 d8 23 a30 1 @@@@ -101,12 +101,16 @@@@ d43 2 d47 2 a48 2 -include makefile.setup @