head 1.2; access; symbols pkgsrc-2026Q1:1.2.0.46 pkgsrc-2026Q1-base:1.2 pkgsrc-2025Q4:1.2.0.44 pkgsrc-2025Q4-base:1.2 pkgsrc-2025Q3:1.2.0.42 pkgsrc-2025Q3-base:1.2 pkgsrc-2025Q2:1.2.0.40 pkgsrc-2025Q2-base:1.2 pkgsrc-2025Q1:1.2.0.38 pkgsrc-2025Q1-base:1.2 pkgsrc-2024Q4:1.2.0.36 pkgsrc-2024Q4-base:1.2 pkgsrc-2024Q3:1.2.0.34 pkgsrc-2024Q3-base:1.2 pkgsrc-2024Q2:1.2.0.32 pkgsrc-2024Q2-base:1.2 pkgsrc-2024Q1:1.2.0.30 pkgsrc-2024Q1-base:1.2 pkgsrc-2023Q4:1.2.0.28 pkgsrc-2023Q4-base:1.2 pkgsrc-2023Q3:1.2.0.26 pkgsrc-2023Q3-base:1.2 pkgsrc-2023Q2:1.2.0.24 pkgsrc-2023Q2-base:1.2 pkgsrc-2023Q1:1.2.0.22 pkgsrc-2023Q1-base:1.2 pkgsrc-2022Q4:1.2.0.20 pkgsrc-2022Q4-base:1.2 pkgsrc-2022Q3:1.2.0.18 pkgsrc-2022Q3-base:1.2 pkgsrc-2022Q2:1.2.0.16 pkgsrc-2022Q2-base:1.2 pkgsrc-2022Q1:1.2.0.14 pkgsrc-2022Q1-base:1.2 pkgsrc-2021Q4:1.2.0.12 pkgsrc-2021Q4-base:1.2 pkgsrc-2021Q3:1.2.0.10 pkgsrc-2021Q3-base:1.2 pkgsrc-2021Q2:1.2.0.8 pkgsrc-2021Q2-base:1.2 pkgsrc-2021Q1:1.2.0.6 pkgsrc-2021Q1-base:1.2 pkgsrc-2020Q4:1.2.0.4 pkgsrc-2020Q4-base:1.2 pkgsrc-2020Q3:1.2.0.2 pkgsrc-2020Q3-base:1.2 pkgsrc-2020Q2:1.1.0.2 pkgsrc-2020Q2-base:1.1; locks; strict; comment @# @; 1.2 date 2020.07.22.10.25.24; author micha; state Exp; branches; next 1.1; commitid 9XVeyNsSLxjQU3hC; 1.1 date 2020.05.04.16.12.48; author micha; state Exp; branches; next ; commitid 9r4V1Um9P5ZgoW6C; desc @@ 1.2 log @games/ajbsp: Build fix for SunOS Remove nonportable strip option "--strip-unneeded". POSIX strip doesn't support options. Bump PKGREVISION because the different strip algorithm affects platforms with support for "--strip-unneeded". @ text @$NetBSD: patch-Makefile,v 1.1 2020/05/04 16:12:48 micha Exp $ Use PREFIX and PKGMANDIR from pkgsrc. Honor CXXFLAGS and LDFLAGS from pkgsrc. Don't set root owner on install. Remove nonportable strip option "--strip-unneeded". POSIX strip doesn't support options: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/strip.html --- Makefile.orig 2018-06-19 05:23:16.000000000 +0000 +++ Makefile @@@@ -8,8 +8,8 @@@@ PROGRAM=ajbsp # prefix choices: /usr /usr/local /opt -PREFIX=/usr/local -MANDIR=$(PREFIX)/share/man +#PREFIX=/usr/local +MANDIR=$(PREFIX)/$(PKGMANDIR) OBJ_DIR=obj_linux @@@@ -18,16 +18,18 @@@@ OBJ_DIR=obj_linux WARNINGS=-Wall -Wextra -Wshadow -Wno-unused-parameter OPTIMISE=-O2 -fno-strict-aliasing -fwrapv -fno-exceptions -fno-rtti -STRIP_FLAGS=--strip-unneeded +# pkgsrc: "--strip-unneeded" is not supported on all pkgsrc architectures +#STRIP_FLAGS= --strip-unneeded +STRIP_FLAGS= #--- Internal stuff from here ----------------------------------- MAN_PAGE=$(PROGRAM).6 -CXXFLAGS=$(OPTIMISE) $(WARNINGS) -D_THREAD_SAFE -D_REENTRANT +#CXXFLAGS=$(OPTIMISE) $(WARNINGS) -D_THREAD_SAFE -D_REENTRANT -LDFLAGS= +#LDFLAGS= # LDFLAGS=-static # I needed this when using -m32 and -static: @@@@ -77,9 +79,9 @@@@ stripped: all install: stripped install -d -m 755 $(DESTDIR)$(PREFIX)/bin - install -o root -m 755 $(PROGRAM) $(DESTDIR)$(PREFIX)/bin/ + install -m 755 $(PROGRAM) $(DESTDIR)$(PREFIX)/bin/ install -d -m 755 $(DESTDIR)$(MANDIR)/man6 - install -o root -m 644 doc/$(MAN_PAGE) $(DESTDIR)$(MANDIR)/man6/ + install -m 644 doc/$(MAN_PAGE) $(DESTDIR)$(MANDIR)/man6/ uninstall: rm -f -v $(DESTDIR)$(PREFIX)/bin/$(PROGRAM) @ 1.1 log @games/ajbsp: import ajbsp-1.01 AJBSP is a node builder for modern DOOM source ports. @ text @d1 1 a1 1 $NetBSD$ d6 3 d23 11 a33 1 @@@@ -25,9 +25,9 @@@@ STRIP_FLAGS=--strip-unneeded d45 1 a45 1 @@@@ -77,9 +77,9 @@@@ stripped: all @