head 1.1; access; symbols pkgsrc-2026Q1:1.1.0.62 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.60 pkgsrc-2025Q4-base:1.1 pkgsrc-2025Q3:1.1.0.58 pkgsrc-2025Q3-base:1.1 pkgsrc-2025Q2:1.1.0.56 pkgsrc-2025Q2-base:1.1 pkgsrc-2025Q1:1.1.0.54 pkgsrc-2025Q1-base:1.1 pkgsrc-2024Q4:1.1.0.52 pkgsrc-2024Q4-base:1.1 pkgsrc-2024Q3:1.1.0.50 pkgsrc-2024Q3-base:1.1 pkgsrc-2024Q2:1.1.0.48 pkgsrc-2024Q2-base:1.1 pkgsrc-2024Q1:1.1.0.46 pkgsrc-2024Q1-base:1.1 pkgsrc-2023Q4:1.1.0.44 pkgsrc-2023Q4-base:1.1 pkgsrc-2023Q3:1.1.0.42 pkgsrc-2023Q3-base:1.1 pkgsrc-2023Q2:1.1.0.40 pkgsrc-2023Q2-base:1.1 pkgsrc-2023Q1:1.1.0.38 pkgsrc-2023Q1-base:1.1 pkgsrc-2022Q4:1.1.0.36 pkgsrc-2022Q4-base:1.1 pkgsrc-2022Q3:1.1.0.34 pkgsrc-2022Q3-base:1.1 pkgsrc-2022Q2:1.1.0.32 pkgsrc-2022Q2-base:1.1 pkgsrc-2022Q1:1.1.0.30 pkgsrc-2022Q1-base:1.1 pkgsrc-2021Q4:1.1.0.28 pkgsrc-2021Q4-base:1.1 pkgsrc-2021Q3:1.1.0.26 pkgsrc-2021Q3-base:1.1 pkgsrc-2021Q2:1.1.0.24 pkgsrc-2021Q2-base:1.1 pkgsrc-2021Q1:1.1.0.22 pkgsrc-2021Q1-base:1.1 pkgsrc-2020Q4:1.1.0.20 pkgsrc-2020Q4-base:1.1 pkgsrc-2020Q3:1.1.0.18 pkgsrc-2020Q3-base:1.1 pkgsrc-2020Q2:1.1.0.16 pkgsrc-2020Q2-base:1.1 pkgsrc-2020Q1:1.1.0.12 pkgsrc-2020Q1-base:1.1 pkgsrc-2019Q4:1.1.0.14 pkgsrc-2019Q4-base:1.1 pkgsrc-2019Q3:1.1.0.10 pkgsrc-2019Q3-base:1.1 pkgsrc-2019Q2:1.1.0.8 pkgsrc-2019Q2-base:1.1 pkgsrc-2019Q1:1.1.0.6 pkgsrc-2019Q1-base:1.1 pkgsrc-2018Q4:1.1.0.4 pkgsrc-2018Q4-base:1.1 pkgsrc-2018Q3:1.1.0.2 pkgsrc-2018Q3-base:1.1; locks; strict; comment @# @; 1.1 date 2018.09.27.20.02.50; author gdt; state Exp; branches; next ; commitid lStytDGWX0GYsMTA; desc @@ 1.1 log @etcmanage: belatedly commit patch already in distinfo @ text @$NetBSD$ Export RELEASEMACHINEDIR, and default it to $arch, so that using evbearmv7hf-el results in that being the subdir in releasedir, so that 6/7 don't overwrite each other. Upstream has been notified, but perhaps this belongs in in build.sh. --- BUILD-NetBSD.orig 2016-05-21 19:35:53.000000000 +0000 +++ BUILD-NetBSD @@@@ -193,6 +193,9 @@@@ fi # Parse fixed arguments. cmd=$1 +# Note that arch will typically be a "uname -m" value, in simple +# cases, or an alias that defines a combination of uname -m and -p, +# like evbearmv7hf-el which maps to evbarm and earmv7hf. arch=$2 # Make first-cut decision about UNPRIV (UNPRIV if non-root) @@@@ -248,9 +251,12 @@@@ export OBJDIR="$BUILDBASE"/"$arch" # Place all destdirs together, separated by architecture. export DESTDIR="$BUILDBASE"/destdir/"$arch" -# Releasedir has $arch subdirs by default, so omit implied "/$arch". +# Note that RELEASEDIR is the parent directory, in which there is /$arch. export RELEASEDIR="$BUILDBASE"/releasedir +# build.sh uses $arch by default +export RELEASEMACHINEDIR=$arch + if [ "$cmd" = "" ]; then cmd=all log "Command omitted - assuming \"all\"" @