head 1.2; access; symbols pkgsrc-2026Q1:1.2.0.26 pkgsrc-2026Q1-base:1.2 pkgsrc-2025Q4:1.2.0.24 pkgsrc-2025Q4-base:1.2 pkgsrc-2025Q3:1.2.0.22 pkgsrc-2025Q3-base:1.2 pkgsrc-2025Q2:1.2.0.20 pkgsrc-2025Q2-base:1.2 pkgsrc-2025Q1:1.2.0.18 pkgsrc-2025Q1-base:1.2 pkgsrc-2024Q4:1.2.0.16 pkgsrc-2024Q4-base:1.2 pkgsrc-2024Q3:1.2.0.14 pkgsrc-2024Q3-base:1.2 pkgsrc-2024Q2:1.2.0.12 pkgsrc-2024Q2-base:1.2 pkgsrc-2024Q1:1.2.0.10 pkgsrc-2024Q1-base:1.2 pkgsrc-2023Q4:1.2.0.8 pkgsrc-2023Q4-base:1.2 pkgsrc-2023Q3:1.2.0.6 pkgsrc-2023Q3-base:1.2 pkgsrc-2023Q2:1.2.0.4 pkgsrc-2023Q2-base:1.2 pkgsrc-2023Q1:1.2.0.2 pkgsrc-2023Q1-base:1.2 pkgsrc-2022Q4:1.1.0.2 pkgsrc-2022Q4-base:1.1; locks; strict; comment @# @; 1.2 date 2023.01.16.04.15.37; author dholland; state Exp; branches; next 1.1; commitid UsEduyktKpsaHI9E; 1.1 date 2022.11.09.16.58.35; author nikita; state Exp; branches; next ; commitid fxSbHd1rchs5631E; desc @@ 1.2 log @lang/kona: don't feed the compiler -fast on solaris, doesn't work @ text @$NetBSD: patch-Makefile,v 1.1 2022/11/09 16:58:35 nikita Exp $ - don't issue -fast on solaris; it (now?) fails - patch for reproducibility (SOURCE_DATE_EPOCH), sent upstream. --- Makefile.orig 2021-12-16 18:43:18.000000000 +0000 +++ Makefile @@@@ -92,7 +92,7 @@@@ endif ifeq (sunos,$(OS)) LDFLAGS += -lsocket -PRODFLAGS += -fast +#PRODFLAGS += -fast endif ifeq (haiku,$(OS)) @@@@ -127,8 +127,15 @@@@ k_dyn: CFLAGS += $(PRODFLAGS) k_dyn: src/kbuild.h $(OBJS) $(CC) ${CFLAGS} $(OBJS) -rdynamic -o $@@ $(LDFLAGS) +DATE_FMT = +%Y-%m-%d +ifdef SOURCE_DATE_EPOCH + BUILD_DATE := $(shell date -u -d "@@$(SOURCE_DATE_EPOCH)" "$(DATE_FMT)" 2>/dev/null || date -u -r "$(SOURCE_DATE_EPOCH)" "$(DATE_FMT)" 2>/dev/null || date -u "$(DATE_FMT)") +else + BUILD_DATE := $(shell date "$(DATE_FMT)") +endif + src/kbuild.h: - echo "#define KBUILD_DATE \"`date +%Y-%m-%d`\"" >$@@ + echo "#define KBUILD_DATE \"$(BUILD_DATE)\"" >$@@ test: k_test @ 1.1 log @Import kona version 0.0.0.2021.12.25 as lang/kona. Kona is the open-source implementation of the k3 programming language. k is a synthesis of APL and LISP. Although many of the capabilities come from APL, the fundamental data construct is quite different. In APL the construct is a multi-dimensional matrix-like array, where the dimension of the array can range from 0 to some maximum (often 9). In k, like LISP, the fundamental data construct is a list. Also, like LISP, the k language is ASCII-based, so you don't need a special keyboard. For many people, k was the preferred APL dialect. When it was available, it tended to be popular with investment bankers, the performance obsessed, and analysts dealing with lots of data. It is a demanding language. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 2 patch for reproducibility (SOURCE_DATE_EPOCH), sent upstream. d5 14 a18 3 --- Makefile.orig 2022-11-09 17:18:35.887846604 +0100 +++ Makefile 2022-11-09 17:19:45.705977471 +0100 @@@@ -127,8 +127,15 @@@@ @