pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/games/ajbsp
Module Name: pkgsrc
Committed By: micha
Date: Wed Jul 22 10:25:24 UTC 2020
Modified Files:
pkgsrc/games/ajbsp: Makefile distinfo
pkgsrc/games/ajbsp/patches: patch-Makefile
Log Message:
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".
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/games/ajbsp/Makefile \
pkgsrc/games/ajbsp/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/games/ajbsp/patches/patch-Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/games/ajbsp/Makefile
diff -u pkgsrc/games/ajbsp/Makefile:1.1 pkgsrc/games/ajbsp/Makefile:1.2
--- pkgsrc/games/ajbsp/Makefile:1.1 Mon May 4 16:12:48 2020
+++ pkgsrc/games/ajbsp/Makefile Wed Jul 22 10:25:24 2020
@@ -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}/
Index: pkgsrc/games/ajbsp/distinfo
diff -u pkgsrc/games/ajbsp/distinfo:1.1 pkgsrc/games/ajbsp/distinfo:1.2
--- pkgsrc/games/ajbsp/distinfo:1.1 Mon May 4 16:12:48 2020
+++ pkgsrc/games/ajbsp/distinfo Wed Jul 22 10:25:24 2020
@@ -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
Index: pkgsrc/games/ajbsp/patches/patch-Makefile
diff -u pkgsrc/games/ajbsp/patches/patch-Makefile:1.1 pkgsrc/games/ajbsp/patches/patch-Makefile:1.2
--- pkgsrc/games/ajbsp/patches/patch-Makefile:1.1 Mon May 4 16:12:48 2020
+++ pkgsrc/games/ajbsp/patches/patch-Makefile Wed Jul 22 10:25:24 2020
@@ -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
Home |
Main Index |
Thread Index |
Old Index