pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/ada-templates-parser-25



Module Name:    pkgsrc
Committed By:   dkazankov
Date:           Sat Sep 13 12:06:11 UTC 2025

Modified Files:
        pkgsrc/textproc/ada-templates-parser-25: Makefile distinfo
        pkgsrc/textproc/ada-templates-parser-25/patches: patch-Makefile

Log Message:
ada-templates-parser-25: fix default build procedure

It tried build shared libraries that shouldn't happen by default.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/textproc/ada-templates-parser-25/Makefile \
    pkgsrc/textproc/ada-templates-parser-25/distinfo
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/textproc/ada-templates-parser-25/patches/patch-Makefile

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

Modified files:

Index: pkgsrc/textproc/ada-templates-parser-25/Makefile
diff -u pkgsrc/textproc/ada-templates-parser-25/Makefile:1.1 pkgsrc/textproc/ada-templates-parser-25/Makefile:1.2
--- pkgsrc/textproc/ada-templates-parser-25/Makefile:1.1        Thu Sep  4 10:44:40 2025
+++ pkgsrc/textproc/ada-templates-parser-25/Makefile    Sat Sep 13 12:06:11 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2025/09/04 10:44:40 dkazankov Exp $
+# $NetBSD: Makefile,v 1.2 2025/09/13 12:06:11 dkazankov Exp $
 
 DISTNAME=      ${GITHUB_PROJECT}-${PKGVERSION_NOREV}
 PKGNAME=       ${GITHUB_PROJECT}-${GNAT_NAME}-25.0.0
@@ -26,7 +26,7 @@ GCC_REQD+=    14
 
 SUBST_CLASSES+=                version
 SUBST_MESSAGE.version= Fix version number in ${SUBST_FILES.version}
-SUBST_STAGE.version=   pre-configure
+SUBST_STAGE.version=   post-extract
 SUBST_FILES.version=   Makefile
 SUBST_SED.version=     -e "s,22.0,25.0,"
 
Index: pkgsrc/textproc/ada-templates-parser-25/distinfo
diff -u pkgsrc/textproc/ada-templates-parser-25/distinfo:1.1 pkgsrc/textproc/ada-templates-parser-25/distinfo:1.2
--- pkgsrc/textproc/ada-templates-parser-25/distinfo:1.1        Thu Sep  4 10:44:40 2025
+++ pkgsrc/textproc/ada-templates-parser-25/distinfo    Sat Sep 13 12:06:11 2025
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2025/09/04 10:44:40 dkazankov Exp $
+$NetBSD: distinfo,v 1.2 2025/09/13 12:06:11 dkazankov Exp $
 
 BLAKE2s (templates-parser-25.0.0.tar.gz) = 87196226137489c985fea3d1dd2994eeefb0ec8e168546081361a1bfa2e42114
 SHA512 (templates-parser-25.0.0.tar.gz) = 902e41f713dd8446e08ba6f180b4c88c35d37da3476d0c925a4b6a05fb5038ff9ec1b0daa0443a55e82f902867b774efb4e28c0b7d8ec59fb15d050ee523ee87
 Size (templates-parser-25.0.0.tar.gz) = 259459 bytes
-SHA1 (patch-Makefile) = 7a68d4171a832b2e4244989f86d469e06b1df062
+SHA1 (patch-Makefile) = 130d529a24318f93f8b61072b3a533b3850e2689

Index: pkgsrc/textproc/ada-templates-parser-25/patches/patch-Makefile
diff -u pkgsrc/textproc/ada-templates-parser-25/patches/patch-Makefile:1.1 pkgsrc/textproc/ada-templates-parser-25/patches/patch-Makefile:1.2
--- pkgsrc/textproc/ada-templates-parser-25/patches/patch-Makefile:1.1  Thu Sep  4 10:44:40 2025
+++ pkgsrc/textproc/ada-templates-parser-25/patches/patch-Makefile      Sat Sep 13 12:06:11 2025
@@ -1,10 +1,33 @@
-$NetBSD: patch-Makefile,v 1.1 2025/09/04 10:44:40 dkazankov Exp $
+$NetBSD: patch-Makefile,v 1.2 2025/09/13 12:06:11 dkazankov Exp $
 
+Fix shared library build controller
 Add NetBSD support
 
 --- Makefile.orig      2024-08-23 18:53:29.000000000 +0300
 +++ Makefile
-@@ -101,12 +101,16 @@
+@@ -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
@@ -17,7 +40,9 @@ Add NetBSD support
  endif
  endif
  endif
+-
+--include makefile.setup
 +endif
  
- -include makefile.setup
- 
+ ALL_OPTIONS := \
+  DEBUG \



Home | Main Index | Thread Index | Old Index