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 COBOL on NetBSD amd64/arm64/riscv64. --- configure.orig 2025-08-07 23:51:39.874338130 -0700 +++ configure 2025-11-05 19:28:09.763698065 -0800 @@@@ -3581,14 +3581,14 @@@@ case ,${enable_languages}, in ;; *) case "${target}" in - aarch64-*-linux*|x86_64-*-linux*) + aarch64-*-linux*|x86_64-*-linux*|aarch64-*-netbsd*|x86_64-*-netbsd*|riscv64-*-netbsd*) ;; *-*-*) unsupported_languages="$unsupported_languages cobol" ;; esac case "${host}" in - aarch64-*-linux*|x86_64-*-linux*) + aarch64-*-linux*|x86_64-*-linux*|aarch64-*-netbsd*|x86_64-*-netbsd*|riscv64-*-netbsd*) ;; *-*-*) unsupported_languages="$unsupported_languages cobol" @