Fix packaging Prevent -frecord-gcc-switches to be added, because pkgsrc checks choke on the presence of working directory strings inside the binaries.diff -r1.59 -r1.60 pkgsrc/www/SOGo/Makefile
(manu)
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: Makefile,v 1.59 2020/04/12 08:29:16 adam Exp $ | 1 | # $NetBSD: Makefile,v 1.60 2020/04/16 09:42:42 manu Exp $ | |
2 | # | 2 | # | |
3 | 3 | |||
4 | DISTNAME= SOGo-2.3.23 | 4 | DISTNAME= SOGo-2.3.23 | |
5 | PKGREVISION= 14 | 5 | PKGREVISION= 14 | |
6 | CATEGORIES= www | 6 | CATEGORIES= www | |
7 | MASTER_SITES= http://www.sogo.nu/files/downloads/SOGo/Sources/ | 7 | MASTER_SITES= http://www.sogo.nu/files/downloads/SOGo/Sources/ | |
8 | 8 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 9 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= http://www.sogo.nu/ | 10 | HOMEPAGE= http://www.sogo.nu/ | |
11 | COMMENT= Groupware server supporting CalDAV, CardDAV and GroupDAV | 11 | COMMENT= Groupware server supporting CalDAV, CardDAV and GroupDAV | |
12 | LICENSE= gnu-gpl-v2 | 12 | LICENSE= gnu-gpl-v2 | |
13 | 13 | |||
14 | HAS_CONFIGURE= yes | 14 | HAS_CONFIGURE= yes |
@@ -1,7 +1,8 @@ | @@ -1,7 +1,8 @@ | |||
1 | $NetBSD: distinfo,v 1.22 2018/03/21 14:36:39 taca Exp $ | 1 | $NetBSD: distinfo,v 1.23 2020/04/16 09:42:42 manu Exp $ | |
2 | 2 | |||
3 | SHA1 (SOGo-2.3.23.tar.gz) = 2d3811e0a4d374586a8f53ed3bc3e7add3f1308f | 3 | SHA1 (SOGo-2.3.23.tar.gz) = 2d3811e0a4d374586a8f53ed3bc3e7add3f1308f | |
4 | RMD160 (SOGo-2.3.23.tar.gz) = 8409fc9427e31e30a6cd60fff32b2f3ac944a947 | 4 | RMD160 (SOGo-2.3.23.tar.gz) = 8409fc9427e31e30a6cd60fff32b2f3ac944a947 | |
5 | SHA512 (SOGo-2.3.23.tar.gz) = abd2d0133b3e7db91e0e9426c76d65d32d9e47ab6a37dbc96213dabbd24d45f7bfc6835570c22355649d7651df9a36a6614d874b16dbd796bff4eabee0a48eb6 | 5 | SHA512 (SOGo-2.3.23.tar.gz) = abd2d0133b3e7db91e0e9426c76d65d32d9e47ab6a37dbc96213dabbd24d45f7bfc6835570c22355649d7651df9a36a6614d874b16dbd796bff4eabee0a48eb6 | |
6 | Size (SOGo-2.3.23.tar.gz) = 12521303 bytes | 6 | Size (SOGo-2.3.23.tar.gz) = 12521303 bytes | |
7 | SHA1 (patch-SoObjects_SOGo_NSData+Crypto.m) = 2b121f06f409f9d8ddfb717e5b3d13547c7d18a0 | 7 | SHA1 (patch-SoObjects_SOGo_NSData+Crypto.m) = 2b121f06f409f9d8ddfb717e5b3d13547c7d18a0 | |
8 | SHA1 (patch-general.make) = d1517f3fc9133c7edb4293612b87674504d3ac5f |
$NetBSD: patch-general.make,v 1.1 2020/04/16 09:42:42 manu Exp $
Prevent -frecord-gcc-switches to be added, because pkgsrc
checks choke on the presence of working directory strings
inside the binaries.
--- general.make.orig 2020-04-15 11:01:50.012506113 +0200
+++ general.make 2020-04-15 11:02:01.180611005 +0200
@@ -22,6 +22,6 @@
# Ensure we store in the ELF files minimal debugging
# information plus the compiler flags used; that can
# be afterwards read with:
# readelf -p .GCC.command.line /path/to/elf_file
-ADDITIONAL_OBJCFLAGS += -g $(call cc-option,-frecord-gcc-switches)
+ADDITIONAL_OBJCFLAGS += -g $(call cc-option)