head 1.2; access; symbols pkgsrc-2026Q1:1.2.0.10 pkgsrc-2026Q1-base:1.2 pkgsrc-2025Q4:1.2.0.8 pkgsrc-2025Q4-base:1.2 pkgsrc-2025Q3:1.2.0.6 pkgsrc-2025Q3-base:1.2 pkgsrc-2025Q2:1.2.0.4 pkgsrc-2025Q2-base:1.2 pkgsrc-2025Q1:1.2.0.2 pkgsrc-2025Q1-base:1.2; locks; strict; comment @# @; 1.2 date 2025.02.10.13.13.27; author wiz; state Exp; branches; next 1.1; commitid M6KPXGxwPisTmVIF; 1.1 date 2025.01.23.07.08.51; author wiz; state Exp; branches; next ; commitid a4ZZTqaHH4lOVzGF; desc @@ 1.2 log @pkg: fix build on NetBSD. Stop building and installing pkg-static, it's not needed and causes additional link errors. Bump PKGREVISION. @ text @$NetBSD: patch-scripts_periodic_411.pkg-backup,v 1.1 2025/01/23 07:08:51 wiz Exp $ Fix unportable test(1) operator. --- scripts/periodic/411.pkg-backup.orig 2018-01-06 22:54:19.000000000 +0000 +++ scripts/periodic/411.pkg-backup @@@@ -25,7 +25,7 @@@@ backup_pkg() { for i in $(jot ${count} ${lower} 0); do local higher=$(( ${i} + 1 )) local file - if [ ${i} == 0 ]; then + if [ ${i} = 0 ]; then file=${bak_file} else file=${bak_file}.${i} @ 1.1 log @pkg: fix another unportable test(1) operator TODO: fix the build @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 --- scripts/periodic/411.pkg-backup.orig 2025-01-22 22:06:00.034056538 +0000 @