diff options
author | micha <micha@pkgsrc.org> | 2020-07-22 10:25:24 +0000 |
---|---|---|
committer | micha <micha@pkgsrc.org> | 2020-07-22 10:25:24 +0000 |
commit | 4db5283b758a2545adfd9df3c3d42a6fa14c6658 (patch) | |
tree | 93ec5bfb505170378b4b519b7303b9432f71399d /games | |
parent | 2b3bc6cd2edfd5599e0b951ded725fc7a9dfc1fd (diff) | |
download | pkgsrc-4db5283b758a2545adfd9df3c3d42a6fa14c6658.tar.gz |
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".
Diffstat (limited to 'games')
-rw-r--r-- | games/ajbsp/Makefile | 3 | ||||
-rw-r--r-- | games/ajbsp/distinfo | 4 | ||||
-rw-r--r-- | games/ajbsp/patches/patch-Makefile | 19 |
3 files changed, 20 insertions, 6 deletions
diff --git a/games/ajbsp/Makefile b/games/ajbsp/Makefile index 572baa4a4e2..68173ebc3a0 100644 --- a/games/ajbsp/Makefile +++ b/games/ajbsp/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.1 2020/05/04 16:12:48 micha Exp $ +# $NetBSD: Makefile,v 1.2 2020/07/22 10:25:24 micha Exp $ DISTNAME= ajbsp-v1.01 PKGNAME= ${DISTNAME:S/v//} +PKGREVISION= 1 CATEGORIES= games MASTER_SITES= https://gitlab.com/andwj/ajbsp/-/archive/v${PKGVERSION_NOREV}/ diff --git a/games/ajbsp/distinfo b/games/ajbsp/distinfo index b7830c6c6f5..2d885d2a7b1 100644 --- a/games/ajbsp/distinfo +++ b/games/ajbsp/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.1 2020/05/04 16:12:48 micha Exp $ +$NetBSD: distinfo,v 1.2 2020/07/22 10:25:24 micha Exp $ SHA1 (ajbsp-v1.01.tar.gz) = 69a9ebe35c840a69c5c14b2368a5e3f1d75a7b0a RMD160 (ajbsp-v1.01.tar.gz) = 6943aed9fb3bf047ceafc0bf35cbf610b51fa612 SHA512 (ajbsp-v1.01.tar.gz) = a554cd11f95afe351769a78878b8717354750dc2165b8b4f2ab37cf92125aa058c4b08d0e4df5e7c82a9b0c0be578f12bbdf03df8c620295449982271544cba9 Size (ajbsp-v1.01.tar.gz) = 77251 bytes -SHA1 (patch-Makefile) = de90c080bb28493420b6f269b333acac3e94426f +SHA1 (patch-Makefile) = a53066b6ada4271c709e9d69f2038819a2d47158 diff --git a/games/ajbsp/patches/patch-Makefile b/games/ajbsp/patches/patch-Makefile index 3e1ec7c86e3..54a37b9a9eb 100644 --- a/games/ajbsp/patches/patch-Makefile +++ b/games/ajbsp/patches/patch-Makefile @@ -1,8 +1,11 @@ -$NetBSD: patch-Makefile,v 1.1 2020/05/04 16:12:48 micha Exp $ +$NetBSD: patch-Makefile,v 1.2 2020/07/22 10:25:24 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 @@ -17,7 +20,17 @@ Don't set root owner on install. OBJ_DIR=obj_linux -@@ -25,9 +25,9 @@ STRIP_FLAGS=--strip-unneeded +@@ -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 @@ -29,7 +42,7 @@ Don't set root owner on install. # LDFLAGS=-static # I needed this when using -m32 and -static: -@@ -77,9 +77,9 @@ stripped: all +@@ -77,9 +79,9 @@ stripped: all install: stripped install -d -m 755 $(DESTDIR)$(PREFIX)/bin |