head 1.1; access; symbols pkgsrc-2026Q1:1.1.0.4 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.2 pkgsrc-2025Q4-base:1.1; locks; strict; comment @# @; 1.1 date 2025.11.08.07.04.02; author mrg; state Exp; branches; next ; commitid wnmt3AFTvrA3CIhG; desc @@ 1.1 log @port gcobol to netbsd amd64 and arm64. also fix the arm64 port - it wasn't including LSE and had link issues. define DL_LIBRARY "" on netbsd, we don't have -ldl. avoid a weird "unused" isn't ignored warning on arm64. tested with a simple hello.cob: IDENTIFICATION DIVISION. PROGRAM-ID. HELLO. PROCEDURE DIVISION. DISPLAY 'hello cobol world'. STOP RUN. bump pkg revision. @ text @$NetBSD$ Enable libgcobol on NetBSD amd64, arm64, and riscv64. --- libgcobol/configure.tgt.orig 2025-08-07 23:51:44.929422457 -0700 +++ libgcobol/configure.tgt 2025-11-06 11:01:55.070054980 -0800 @@@@ -26,7 +26,7 @@@@ LIBGCOBOL_SUPPORTED=no case "${target}" in - aarch64*-*-linux*) + aarch64*-*-linux* | aarch64*-*-netbsd*) LIBGCOBOL_SUPPORTED=yes ;; powerpc64le-*-linux*) @@@@ -34,12 +34,12 @@@@ case "${target}" in LIBGCOBOL_SUPPORTED=yes fi ;; - riscv64-*-linux*) + riscv64-*-linux* | riscv64-*-netbsd*) if test x$ac_cv_sizeof_void_p = x8; then LIBGCOBOL_SUPPORTED=yes fi ;; - x86_64-*-linux* | i?86-*-linux* | x86_64-*-darwin*) + x86_64-*-linux* | i?86-*-linux* | x86_64-*-darwin* | x86_64-*-netbsd*) if test x$ac_cv_sizeof_void_p = x8; then LIBGCOBOL_SUPPORTED=yes fi @