Makefile checks for uname -s of "NetBSD"

h/t Thomas
This commit is contained in:
Bill Kendrick 2025-01-03 13:43:37 -08:00
parent 68df71b325
commit 1b293283a5
2 changed files with 11 additions and 6 deletions

View file

@ -1,10 +1,10 @@
# Tux Paint - A simple drawing program for children. # Tux Paint - A simple drawing program for children.
# Copyright (c) 2002-2024 # Copyright (c) 2002-2025
# Various contributors (see AUTHORS.txt) # Various contributors (see AUTHORS.txt)
# https://tuxpaint.org/ # https://tuxpaint.org/
# June 14, 2002 - December 29, 2024 # June 14, 2002 - January 3, 2025
# The version number, for release: # The version number, for release:
@ -66,8 +66,13 @@ else
OS:=os2 OS:=os2
GPERF:=/@unixroot/usr/bin/gperf.exe GPERF:=/@unixroot/usr/bin/gperf.exe
else else
OS:=linux ifeq ($(SYSNAME),NetBSD)
GPERF:=/usr/bin/gperf OS:=netbsd
GPERF:=/usr/bin/gperf
else
OS:=linux
GPERF:=/usr/bin/gperf
endif
endif endif
endif endif
endif endif

View file

@ -6,7 +6,7 @@ Copyright (c) 2002-2025
Various contributors (see below, and AUTHORS.txt) Various contributors (see below, and AUTHORS.txt)
https://tuxpaint.org/ https://tuxpaint.org/
2025.January.2 (0.9.35) 2025.January.3 (0.9.35)
* New Magic Tools: * New Magic Tools:
---------------- ----------------
+ Heart, Sparkle, and Star emitters + Heart, Sparkle, and Star emitters
@ -67,7 +67,7 @@ https://tuxpaint.org/
+ Don't use Linux-specific invocation of "install"; use "mkdir" & "cp" + Don't use Linux-specific invocation of "install"; use "mkdir" & "cp"
Thomas Klausner <wiz@netbsd.org> Thomas Klausner <wiz@netbsd.org>
+ WIP Specific build settings for NetBSD + Specific build settings for NetBSD
Bill Kendrick <bill@newbreedsoftware.com> Bill Kendrick <bill@newbreedsoftware.com>
& Thomas Klausner <wiz@netbsd.org> & Thomas Klausner <wiz@netbsd.org>