lang/algol68g: update to 3.4.4. Version 3.4.0-4, October 2023 * Fix Darwin configuration issue. * Enable plugin compiler on Apple Silicon Macs. * C17 compliant code. * Procedure "http content" now requires libcurl. * Procedure "tcp request" is deprecated. * Minor fixes. Version 3.3.1-24, August/September 2023 * Fix configuration issue for 32-bit systems. * Minor fixes. * Distribution updates.diff -r1.25 -r1.26 pkgsrc/lang/algol68g/Makefile
(rhialto)
@@ -1,23 +1,36 @@ | @@ -1,23 +1,36 @@ | |||
1 | # $NetBSD: Makefile,v 1.25 2023/08/26 15:18:57 rhialto Exp $ | 1 | # $NetBSD: Makefile,v 1.26 2023/12/01 18:35:11 rhialto Exp $ | |
2 | 2 | |||
3 | DISTNAME= algol68g-3.3.5 | 3 | DISTNAME= algol68g-3.4.4 | |
4 | CATEGORIES= lang | 4 | CATEGORIES= lang | |
5 | MASTER_SITES= http://jmvdveer.home.xs4all.nl/ | 5 | MASTER_SITES= http://jmvdveer.home.xs4all.nl/ | |
6 | 6 | |||
7 | MAINTAINER= rhialto@NetBSD.org | 7 | MAINTAINER= rhialto@NetBSD.org | |
8 | HOMEPAGE= https://jmvdveer.home.xs4all.nl/en.algol-68-genie.html | 8 | HOMEPAGE= https://jmvdveer.home.xs4all.nl/en.algol-68-genie.html | |
9 | COMMENT= Algol 68genie compiler | 9 | COMMENT= Algol 68genie compiler | |
10 | LICENSE= gnu-gpl-v3 | 10 | LICENSE= gnu-gpl-v3 | |
11 | 11 | |||
12 | USE_LANGUAGES= c | 12 | USE_LANGUAGES= c c17 | |
13 | GNU_CONFIGURE= yes | 13 | GNU_CONFIGURE= yes | |
14 | CONFIGURE_ARGS= --docdir=${PREFIX}/share/doc/${PKGBASE} | 14 | CONFIGURE_ARGS+= --docdir=${PREFIX}/share/doc/${PKGBASE} | |
15 | CONFIGURE_ARGS+= --enable-compiler | |||
16 | CONFIGURE_ARGS+= --enable-parallel | |||
17 | CONFIGURE_ARGS+= --enable-curl | |||
18 | CONFIGURE_ARGS+= --enable-curses | |||
19 | CONFIGURE_ARGS+= --enable-gsl | |||
20 | CONFIGURE_ARGS+= --enable-readline | |||
21 | CONFIGURE_ARGS+= --disable-mathlib # no -lRmath | |||
22 | ||||
23 | SUBST_CLASSES+= pkg | |||
24 | SUBST_STAGE.pkg= pre-configure | |||
25 | SUBST_FILES.pkg= configure | |||
26 | SUBST_VARS.pkg= PREFIX | |||
15 | 27 | |||
16 | TEST_TARGET= check | 28 | TEST_TARGET= check | |
17 | 29 | |||
18 | .include "options.mk" | 30 | .include "options.mk" | |
19 | 31 | |||
20 | .include "../../mk/readline.buildlink3.mk" | |||
21 | .include "../../math/gsl/buildlink3.mk" | 32 | .include "../../math/gsl/buildlink3.mk" | |
22 | .include "../../mk/termcap.buildlink3.mk" | 33 | .include "../../mk/readline.buildlink3.mk" | |
34 | .include "../../mk/curses.buildlink3.mk" | |||
35 | .include "../../www/curl/buildlink3.mk" | |||
23 | .include "../../mk/bsd.pkg.mk" | 36 | .include "../../mk/bsd.pkg.mk" |
@@ -1,30 +1,31 @@ | @@ -1,30 +1,31 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.6 2023/08/26 15:18:57 rhialto Exp $ | 1 | @comment $NetBSD: PLIST,v 1.7 2023/12/01 18:35:11 rhialto Exp $ | |
2 | bin/a68g | 2 | bin/a68g | |
3 | include/algol68g/a68g-common.h | 3 | include/algol68g/a68g-common.h | |
4 | include/algol68g/a68g-config.h | 4 | include/algol68g/a68g-config.h | |
5 | include/algol68g/a68g-config.win32.h | 5 | include/algol68g/a68g-config.win32.h | |
6 | include/algol68g/a68g-defines.h | 6 | include/algol68g/a68g-defines.h | |
7 | include/algol68g/a68g-diagnostics.h | 7 | include/algol68g/a68g-diagnostics.h | |
8 | include/algol68g/a68g-double.h | 8 | include/algol68g/a68g-double.h | |
9 | include/algol68g/a68g-enums.h | 9 | include/algol68g/a68g-enums.h | |
10 | include/algol68g/a68g-environ.h | 10 | include/algol68g/a68g-environ.h | |
11 | include/algol68g/a68g-frames.h | 11 | include/algol68g/a68g-frames.h | |
12 | include/algol68g/a68g-generic.h | 12 | include/algol68g/a68g-generic.h | |
13 | include/algol68g/a68g-genie.h | 13 | include/algol68g/a68g-genie.h | |
14 | include/algol68g/a68g-includes.h | 14 | include/algol68g/a68g-includes.h | |
15 | include/algol68g/a68g-level-3.h | 15 | include/algol68g/a68g-level-3.h | |
16 | include/algol68g/a68g-lib.h | 16 | include/algol68g/a68g-lib.h | |
17 | include/algol68g/a68g-listing.h | 17 | include/algol68g/a68g-listing.h | |
18 | include/algol68g/a68g-mach.h | |||
18 | include/algol68g/a68g-masks.h | 19 | include/algol68g/a68g-masks.h | |
19 | include/algol68g/a68g-math.h | 20 | include/algol68g/a68g-math.h | |
20 | include/algol68g/a68g-moids.h | 21 | include/algol68g/a68g-moids.h | |
21 | include/algol68g/a68g-mp.h | 22 | include/algol68g/a68g-mp.h | |
22 | include/algol68g/a68g-nil.h | 23 | include/algol68g/a68g-nil.h | |
23 | include/algol68g/a68g-numbers.h | 24 | include/algol68g/a68g-numbers.h | |
24 | include/algol68g/a68g-optimiser.h | 25 | include/algol68g/a68g-optimiser.h | |
25 | include/algol68g/a68g-options.h | 26 | include/algol68g/a68g-options.h | |
26 | include/algol68g/a68g-parser.h | 27 | include/algol68g/a68g-parser.h | |
27 | include/algol68g/a68g-physics.h | 28 | include/algol68g/a68g-physics.h | |
28 | include/algol68g/a68g-platform.h | 29 | include/algol68g/a68g-platform.h | |
29 | include/algol68g/a68g-plugin.h | 30 | include/algol68g/a68g-plugin.h | |
30 | include/algol68g/a68g-postulates.h | 31 | include/algol68g/a68g-postulates.h |
@@ -1,6 +1,7 @@ | @@ -1,6 +1,7 @@ | |||
1 | $NetBSD: distinfo,v 1.17 2023/08/26 15:18:57 rhialto Exp $ | 1 | $NetBSD: distinfo,v 1.18 2023/12/01 18:35:11 rhialto Exp $ | |
2 | 2 | |||
3 | BLAKE2s (algol68g-3.3.5.tar.gz) = 48e3e00a3e59fed6d7bab565301bf70aa760653e8a78f6ec966688401ff5eb87 | 3 | BLAKE2s (algol68g-3.4.4.tar.gz) = 23d0e3bd00652313db915c4d984aba59c806a16bf08600602f7ff710c6d635f8 | |
4 | SHA512 (algol68g-3.3.5.tar.gz) = a1f18f482613c34c6e2efbbf20a8c106da9153f09b85ad5ff741d420425f73e6340ab4ab2fd8b70cc31d0b5c983373fa3be6e499c4e7008787c75fd81dd3ae4b | 4 | SHA512 (algol68g-3.4.4.tar.gz) = d3d9b1aac61871475877c4dd1078bc856fd6f1726bd374e16d8ac9530aee00cdd7fb618c96afa98b28fd66dee343cc7bf92e201787d4598e41dbd794ec3d0a9a | |
5 | Size (algol68g-3.3.5.tar.gz) = 659011 bytes | 5 | Size (algol68g-3.4.4.tar.gz) = 661980 bytes | |
6 | SHA1 (patch-src_a68g_a68g-options.c) = bd659a155d0a6ee835e42868a0eaac9c4a7d9824 | 6 | SHA1 (patch-configure) = d56ff5b3ffe585d2afbeb78f57d4a33d3141578b | |
7 | SHA1 (patch-src_a68g_a68g-options.c) = 5b7b7bb4b1db581bf5cc6a456bb61a327bfcbb7a |
@@ -1,24 +1,34 @@ | @@ -1,24 +1,34 @@ | |||
1 | # $NetBSD: options.mk,v 1.3 2020/05/21 07:02:56 rillig Exp $ | 1 | # $NetBSD: options.mk,v 1.4 2023/12/01 18:35:11 rhialto Exp $ | |
2 | 2 | |||
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.a68g | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.a68g | |
4 | PKG_SUPPORTED_OPTIONS= plotutils pgsql | 4 | PKG_SUPPORTED_OPTIONS= plotutils pgsql longtypes | |
5 | PKG_SUGGESTED_OPTIONS= plotutils | 5 | PKG_SUGGESTED_OPTIONS= plotutils | |
6 | 6 | |||
7 | .include "../../mk/bsd.options.mk" | 7 | .include "../../mk/bsd.options.mk" | |
8 | 8 | |||
9 | .if !empty(PKG_OPTIONS:Mplotutils) | 9 | .if !empty(PKG_OPTIONS:Mplotutils) | |
10 | . include "../../graphics/plotutils/buildlink3.mk" | 10 | . include "../../graphics/plotutils/buildlink3.mk" | |
11 | CONFIGURE_ARGS+= --enable-plotutils | 11 | CONFIGURE_ARGS+= --enable-plotutils | |
12 | .else | 12 | .else | |
13 | CONFIGURE_ARGS+= --disable-plotutils | 13 | CONFIGURE_ARGS+= --disable-plotutils | |
14 | .endif | 14 | .endif | |
15 | 15 | |||
16 | # The implementation of this is somewhat Linux-centric so | |||
17 | # it may not fully work as expected when enabled elsewhere. | |||
18 | .if !empty(PKG_OPTIONS:Mlongtypes) | |||
19 | . include "../../math/mpfr/buildlink3.mk" # fails some configure checks | |||
20 | . include "../../math/libquadmath/buildlink3.mk" | |||
21 | CONFIGURE_ARGS+= --enable-long-types | |||
22 | .else | |||
23 | CONFIGURE_ARGS+= --disable-long-types | |||
24 | .endif | |||
25 | ||||
16 | # It seems that when including PostgreSQL support it doesn't actually | 26 | # It seems that when including PostgreSQL support it doesn't actually | |
17 | # need to have it installed at build time, just at run time. | 27 | # need to have it installed at build time, just at run time. | |
18 | # So maybe this DEPENDS is undesirable. | 28 | # So maybe this DEPENDS is undesirable. | |
19 | .if !empty(PKG_OPTIONS:Mpgsql) | 29 | .if !empty(PKG_OPTIONS:Mpgsql) | |
20 | CONFIGURE_ARGS+= --enable-postgresql | 30 | CONFIGURE_ARGS+= --enable-postgresql | |
21 | .include "../../mk/pgsql.buildlink3.mk" | 31 | . include "../../mk/pgsql.buildlink3.mk" | |
22 | .else | 32 | .else | |
23 | CONFIGURE_ARGS+= --disable-postgresql | 33 | CONFIGURE_ARGS+= --disable-postgresql | |
24 | .endif | 34 | .endif |
$NetBSD: patch-configure,v 1.1 2023/12/01 18:35:12 rhialto Exp $
* don't assume glibc is required for --enable-long-types.
* Unconditionally use -I ${PREFIX}/include for the compiler.
--- configure.orig 2023-10-27 20:16:54.000000000 +0000
+++ configure
@@ -5689,7 +5689,7 @@ fi
if test "x$enable_generic" = "xyes"; then
enable_standard_types=yes
- enable_long_types=no
+ #enable_long_types=no
fi
if test "x$enable_core" = "xyes"; then
@@ -5717,11 +5717,11 @@ EXTRA_INCLUDES=""
# Set -I/usr/local/include for *BSD
-if test "x$bsd_include_dirs" = "xyes"; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: ... /usr/local/include" >&5
-printf "%s\n" "$as_me: ... /usr/local/include" >&6;}
- EXTRA_INCLUDES="-I/usr/local/include"
-fi
+#if test "x$bsd_include_dirs" = "xyes"; then
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: ... @PREFIX@/include" >&5
+printf "%s\n" "$as_me: ... @PREFIX@/include" >&6;}
+ EXTRA_INCLUDES="-I@PREFIX@/include"
+#fi
# Homebrew on macOS
@@ -1,15 +1,15 @@ | @@ -1,15 +1,15 @@ | |||
1 | $NetBSD: patch-src_a68g_a68g-options.c,v 1.1 2023/03/29 10:11:13 rhialto Exp $ | 1 | $NetBSD: patch-src_a68g_a68g-options.c,v 1.2 2023/12/01 18:35:12 rhialto Exp $ | |
2 | 2 | |||
3 | * Enable compiler for *BSD. | 3 | * Enable compiler for *BSD. | |
4 | 4 | |||
5 | --- src/a68g/a68g-options.c.orig 2023-03-19 20:10:12.000000000 +0000 | 5 | --- src/a68g/a68g-options.c.orig 2023-10-27 20:14:34.000000000 +0000 | |
6 | +++ src/a68g/a68g-options.c | 6 | +++ src/a68g/a68g-options.c | |
7 | @@ -552,7 +552,7 @@ BOOL_T set_options (OPTION_LIST_T * i, B | 7 | @@ -478,7 +478,7 @@ BOOL_T need_library (OPTION_LIST_T *i) | |
8 | #endif | 8 | #endif | |
9 | } | 9 | } | |
10 | if (eq (q, "linux")) { | 10 | if (eq (q, "linux")) { | |
11 | -#if !defined (BUILD_LINUX) | 11 | -#if defined (BUILD_LINUX) | |
12 | +#if (!defined (BUILD_LINUX) && !defined(BUILD_BSD)) | 12 | +#if defined (BUILD_LINUX) || defined(BUILD_BSD) | |
13 | io_close_tty_line (); | 13 | return (A68_TRUE); | |
14 | WRITE (STDOUT_FILENO, "linux required - exiting graciously"); | 14 | #else | |
15 | a68_exit (EXIT_SUCCESS); | 15 | io_close_tty_line (); |