Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 21 additions & 13 deletions lang/gnu-apl/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,16 @@ PortSystem 1.0
PortGroup select 1.0

name gnu-apl
version 1.8
revision 1
version 1.9
revision 0
checksums rmd160 64859c2a8e55ea0cbcc884ea1a61eb4f31ada5ae \
sha256 291867f1b1937693abb57be7d9a37618b0376e3e2709574854a7bbe52bb28eb8 \
size 4736165

categories lang
platforms darwin
license GPL-3+
maintainers {@casouri gmail.com:casouri} openmaintainer

description GNU APL is a free interpreter for the programming language APL.

long_description GNU APL is a free interpreter for the programming language APL. \
Expand All @@ -21,25 +25,28 @@ master_sites gnu:apl
distname apl-${version}

depends_lib port:fftw-3 \
port:libpng \
port:pcre2 \
port:readline \
port:sqlite3 \
port:xorg-libxcb
port:xorg-libX11 \
port:xorg-libxcb \
port:zlib

depends_run port:apl_select

select.group apl
select.file ${filespath}/${name}

checksums rmd160 e277ae100c8eccae32980b606401b04bfe65b0b1 \
sha256 144f4c858a0d430ce8f28be90a35920dd8e0951e56976cb80b55053fa0d8bbcb \
size 3565018

livecheck.type regex
livecheck.regex apl-(\[0-9.\]+)${extract.suffix}
livecheck.regex apl-(\[0-9.\]+)[quotemeta ${extract.suffix}]

patchfiles dynamic_lookup-11.patch
patchfiles-append bind.patch

# error: non-constant-expression cannot be narrowed from type 'Pixel_X' (aka 'short')
# to 'uint16_t' (aka 'unsigned short') in initializer list [-Wc++11-narrowing]
# https://savannah.gnu.org/bugs/index.php?67543
configure.cxxflags-append -Wno-error=c++11-narrowing

# Do not use -Werror.
configure.env CXX_WERROR=no
Expand All @@ -60,9 +67,10 @@ test.run yes
test.target check

notes "
gnu-apl has been installed as gnu-apl. You can use “sudo port select --set apl gnu-apl”
gnu-apl has been installed as gnu-apl. You can use\
“sudo port select --set apl gnu-apl”\
to set gnu-apl as default APL executable.

Info file is installed under ${prefix}/share/info. You need to set \$INFOPATH
accordingly in order to view them.
Info file is installed under ${prefix}/share/info.\
You need to set \$INFOPATH accordingly in order to view them.
"
14 changes: 0 additions & 14 deletions lang/gnu-apl/files/bind.patch

This file was deleted.

31 changes: 10 additions & 21 deletions lang/gnu-apl/files/dynamic_lookup-11.patch
Original file line number Diff line number Diff line change
@@ -1,25 +1,14 @@
Recognize macOS 11 and later, remove inaccurate comment, and simplify.
Recognize macOS 12 and later.
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=44605
--- configure.orig 2022-01-12 17:17:14.000000000 -0600
+++ configure 2022-01-12 17:17:46.000000000 -0600
@@ -8608,16 +8608,11 @@
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
darwin1.*)
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
- darwin*) # darwin 5.x on
- # if running on 10.5 or later, the deployment target defaults
- # to the OS version, if on x86, and 10.4, the deployment
- # target defaults to 10.4. Don't you love it?
- case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
- 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
- _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
- 10.[012]*)
+ darwin*)
+ case $MACOSX_DEPLOYMENT_TARGET,$host in
+ 10.[012],*|,*powerpc*-darwin[5-8]*)
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
- 10.*)
https://savannah.gnu.org/bugs/?67540
--- configure.orig 2024-06-28 09:01:10.000000000 -0500
+++ configure 2025-09-21 18:07:52.000000000 -0500
@@ -9622,7 +9622,7 @@
_lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
10.[012][,.]*)
_lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
- 10.*|11.*)
+ *)
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
_lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
esac
;;