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.
# Copyright (c) 2002-2024
# Copyright (c) 2002-2025
# Various contributors (see AUTHORS.txt)
# https://tuxpaint.org/
# June 14, 2002 - December 29, 2024
# June 14, 2002 - January 3, 2025
# The version number, for release:
@ -66,8 +66,13 @@ else
OS:=os2
GPERF:=/@unixroot/usr/bin/gperf.exe
else
OS:=linux
GPERF:=/usr/bin/gperf
ifeq ($(SYSNAME),NetBSD)
OS:=netbsd
GPERF:=/usr/bin/gperf
else
OS:=linux
GPERF:=/usr/bin/gperf
endif
endif
endif
endif