head 1.5; access; symbols pkgsrc-2026Q1:1.5.0.4 pkgsrc-2026Q1-base:1.5 pkgsrc-2025Q4:1.5.0.2 pkgsrc-2025Q4-base:1.5 pkgsrc-2025Q3:1.4.0.6 pkgsrc-2025Q3-base:1.4 pkgsrc-2025Q2:1.4.0.4 pkgsrc-2025Q2-base:1.4 pkgsrc-2025Q1:1.4.0.2 pkgsrc-2025Q1-base:1.4 pkgsrc-2024Q4:1.1.0.8 pkgsrc-2024Q4-base:1.1 pkgsrc-2024Q3:1.1.0.6 pkgsrc-2024Q3-base:1.1 pkgsrc-2024Q2:1.1.0.4 pkgsrc-2024Q2-base:1.1 pkgsrc-2024Q1:1.1.0.2 pkgsrc-2024Q1-base:1.1; locks; strict; comment @# @; 1.5 date 2025.10.09.15.46.43; author dkazankov; state Exp; branches; next 1.4; commitid gY1oSiAeEqjptUdG; 1.4 date 2025.02.16.10.11.49; author wiz; state Exp; branches; next 1.3; commitid 0wUEYRDLHzbGaGJF; 1.3 date 2025.02.08.14.14.49; author wiz; state Exp; branches; next 1.2; commitid 8W32xgk2Llt5MFIF; 1.2 date 2025.02.06.11.27.49; author wiz; state Exp; branches; next 1.1; commitid 5uQ3elpCUHyHUoIF; 1.1 date 2024.03.12.17.50.13; author wiz; state Exp; branches; next ; commitid CmuSEakltqdGFT1F; desc @@ 1.5 log @gprbuild: update to upstream version 25.2 * Update to upstream bugfix version * Use xmlada as inplace package rather than github module * Unify with ada-libgpr-25 * Use pkg_alternatives to comply with gpr2-tools * Some pkglinting @ text @$NetBSD: patch-Makefile,v 1.1 2025/07/10 17:43:35 dkazankov Exp $ Make it possible to set install parameters Fix install parameters Fix ENABLE_SHARED position --- Makefile.orig 2025-02-25 14:35:21.000000000 +0200 +++ Makefile @@@@ -34,9 +34,6 @@@@ SOURCE_DIR := $(shell dirname "$(MAKEFILE_LIST)") LIB_DIR = lib/ -# Load current setup if any --include makefile.setup - # target options for cross-build ifeq ($(HOST),$(TARGET)) GTARGET= @@@@ -45,6 +42,13 @@@@ GTARGET=--target=$(TARGET) endif +ENABLE_SHARED := $(shell gprbuild $(GTARGET) -c -q -p \ + -P$(MAKEPREFIX)config/test_shared 2>/dev/null && echo "yes") + +# Load current setup if any +-include makefile.setup + +GPRINSTALL_OPTIONS= INSTALLER=$(LIB_INSTALLER) EXEC_INSTALLER=$(INSTALLER) -XBUILD=${BUILD} @@@@ -61,9 +65,6 @@@@ MAKEPREFIX=$(SOURCE_DIR)/ endif -ENABLE_SHARED := $(shell gprbuild $(GTARGET) -c -q -p \ - -P$(MAKEPREFIX)config/test_shared 2>/dev/null && echo "yes") - ifeq ($(ENABLE_SHARED), yes) LIBGPR_TYPES=static shared static-pic else @@@@ -72,13 +73,13 @@@@ # Make sure Windows's "OS" environment variable does not cause # confusion for cross-Linux builds. -LIBGPR_OS = $(if $(findstring linux,$(TARGET)),-XOS=UNIX) +LIBGPR_OS = $(if $(or $(findstring linux,$(TARGET)),$(findstring bsd,$(TARGET))),-XOS=UNIX) # Used to pass extra options to GPRBUILD, like -d for instance GPRBUILD_OPTIONS= BUILDER=gprbuild -p -m $(GTARGET) $(RBD) -j${PROCESSORS} -XBUILD=${BUILD} ${GPRBUILD_OPTIONS} -LIB_INSTALLER=gprinstall -p -f --target=$(TARGET) $(RBD) "--prefix=${prefix}" +LIB_INSTALLER=gprinstall -p -f $(GTARGET) $(RBD) "--prefix=${prefix}" ${GPRINSTALL_OPTIONS} CLEANER=gprclean -q $(RBD) GPRBUILD_BUILDER=$(BUILDER) $(GPRBUILD_GPR) \ @@@@ -86,7 +87,7 @@@@ LIBGPR_BUILDER=$(BUILDER) $(GPR_GPR) $(LIBGPR_OS) LIBGPR_INSTALLER=$(LIB_INSTALLER) $(GPR_GPR) $(LIBGPR_OS) -XBUILD=${BUILD} \ --install-name=gpr \ - --build-var=LIBRARY_TYPE --build-var=GPR_BUILD $(GTARGET) + --build-var=LIBRARY_TYPE --build-var=GPR_BUILD LIBGPR_UNINSTALLER=$(LIB_INSTALLER) $(GPR_GPR) $(LIBGPR_OS) --install-name=gpr --uninstall ######### @@@@ -127,7 +128,7 @@@@ install: $(EXEC_INSTALLER) --mode=usage --install-name=gprbuild \ -XINSTALL_MODE=nointernal $(GPRBUILD_GPR) - $(EXEC_INSTALLER) --target=$(TARGET) --mode=usage --install-name=gprbuild \ + $(EXEC_INSTALLER) --mode=usage --install-name=gprbuild \ -XINSTALL_MODE=internal $(GPRBUILD_GPR) complete: all install libgpr.install.static @ 1.4 log @gprbuild: update to 25.0.0nb1 From Dmytro Kazankov in wip. * Simplify Makefile and buildlink3.mk * Patch knowledge database to fix child package link time warning @ text @d1 1 a1 1 $NetBSD: patch-Makefile,v 1.3 2025/02/08 14:14:49 wiz Exp $ d7 1 a7 1 --- Makefile.orig 2024-10-07 15:45:16.000000000 +0300 d33 1 a33 1 @@@@ -61,32 +65,29 @@@@ d43 1 a43 3 - LIBGPR_TYPES=static + LIBGPR_TYPES=static static-pic endif d59 1 a59 2 - -XLIBRARY_TYPE=static -XXMLADA_BUILD=static + -XLIBRARY_TYPE=static-pic -XXMLADA_BUILD=static-pic @ 1.3 log @devel/gprbuild: Update to 25.0.0 From Dmytro Kazankov via wip. * Major release update @ text @d1 1 a1 1 $NetBSD: patch-Makefile,v 1.2 2024/05/08 18:00:00 dkazankov Exp $ d3 3 a5 1 Make it possible to set install parameters, fix install parameters, ENABLE_SHARED d7 3 a9 3 --- Makefile.orig 2023-10-09 21:31:11.000000000 +0300 +++ Makefile 2024-05-08 22:24:58.865354615 +0300 @@@@ -34,6 +34,9 @@@@ d13 10 d26 3 a28 7 # Load current setup if any -include makefile.setup @@@@ -45,6 +48,7 @@@@ GTARGET=--target=$(TARGET) endif d33 1 a33 1 @@@@ -61,24 +65,21 @@@@ d61 2 a62 1 @@@@ -86,7 +87,7 @@@@ @ 1.2 log @devel/gprbuild: Update to 24.0.0nb3 From Dmytro Kazankov in wip, version from September: * Removed unnecessary fixed links to Ada RTS in bootstrap build so package can be built with newer GNAT versions * New gprbuild.mk file for packages that use only gprbuild for building * Runpath handling fixes @ text @@ 1.1 log @devel/gprbuild: import gprbuild-24.0.0 Packaged for wip by Dmytro Kazankov. GPRbuild build system GPRbuild is an advanced build system designed to help automate the construction of multi-language systems. @ text @d1 1 a1 1 $NetBSD: patch-Makefile,v 1.0 2023/12/26 13:25:00 dkazankov Exp $ d3 1 a3 1 Make it possible to set install parameters, fix install parameters d6 12 a17 2 +++ Makefile 2023-12-26 15:07:17.160442141 +0200 @@@@ -45,6 +45,7 @@@@ d25 13 a37 1 @@@@ -72,13 +73,13 @@@@ @