pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/bsign bsign: honor LDFLAGS, set LICENSE



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cd4ec93e3e72
branches:  trunk
changeset: 452666:cd4ec93e3e72
user:      nia <nia%pkgsrc.org@localhost>
date:      Fri May 14 11:43:47 2021 +0000

description:
bsign: honor LDFLAGS, set LICENSE

diffstat:

 sysutils/bsign/Makefile         |   3 ++-
 sysutils/bsign/distinfo         |   4 ++--
 sysutils/bsign/patches/patch-aa |  17 +++++++++++++++--
 3 files changed, 19 insertions(+), 5 deletions(-)

diffs (62 lines):

diff -r 38cab2c6c6ce -r cd4ec93e3e72 sysutils/bsign/Makefile
--- a/sysutils/bsign/Makefile   Fri May 14 11:40:39 2021 +0000
+++ b/sysutils/bsign/Makefile   Fri May 14 11:43:47 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2020/01/26 17:32:08 rillig Exp $
+# $NetBSD: Makefile,v 1.7 2021/05/14 11:43:47 nia Exp $
 
 DISTNAME=      bsign_0.4.5
 PKGNAME=       bsign-0.4.5
@@ -8,6 +8,7 @@
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://packages.debian.org/unstable/admin/bsign.html
 COMMENT=       Utility to embed a hash or signature into an executable
+LICENSE=       gnu-gpl-v2
 
 MAKE_JOBS_SAFE=                no
 
diff -r 38cab2c6c6ce -r cd4ec93e3e72 sysutils/bsign/distinfo
--- a/sysutils/bsign/distinfo   Fri May 14 11:40:39 2021 +0000
+++ b/sysutils/bsign/distinfo   Fri May 14 11:43:47 2021 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.5 2015/11/04 01:32:07 agc Exp $
+$NetBSD: distinfo,v 1.6 2021/05/14 11:43:47 nia Exp $
 
 SHA1 (bsign_0.4.5.tar.gz) = f24acc5ec3fc9653ee06a8314da2e8dde8992ebb
 RMD160 (bsign_0.4.5.tar.gz) = 0e57631ee5713088a9209b6d7287765224751453
 SHA512 (bsign_0.4.5.tar.gz) = a4dba37d648f683bb5b14bc9aafeb72fb0bd06e21cedb1a4bbd73dfc0a5f7bb22b5b33ef8727b5070d727afb2d97489ed4b9be28bf1025c9e618ccf47f1ef634
 Size (bsign_0.4.5.tar.gz) = 77471 bytes
-SHA1 (patch-aa) = aabee5c6c76239c773eb56013b12c9aae29c074d
+SHA1 (patch-aa) = d210da6cf00d654b20031895d69f73d9d1ab7741
 SHA1 (patch-configure) = 392a74fe9e1100b9a7da67892fd96f157458a79c
diff -r 38cab2c6c6ce -r cd4ec93e3e72 sysutils/bsign/patches/patch-aa
--- a/sysutils/bsign/patches/patch-aa   Fri May 14 11:40:39 2021 +0000
+++ b/sysutils/bsign/patches/patch-aa   Fri May 14 11:43:47 2021 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.4 2012/07/03 17:32:00 joerg Exp $
+$NetBSD: patch-aa,v 1.5 2021/05/14 11:43:47 nia Exp $
 
 --- Makefile.in.orig   2002-01-27 20:56:56.000000000 +0000
 +++ Makefile.in
@@ -12,7 +12,20 @@
  #CFLAGS_O=-O2
  #CFLAGS_O=-O2 -fomit-frame-pointer
  #CFLAGS_P=$(CFLAGS) -pg
-@@ -196,7 +197,7 @@ debclean: distclean
+@@ -158,11 +159,7 @@ make_o:
+        then echo === Creating \'$O\' output directory ; mkdir $O ; fi
+ 
+ $O$(TARGET): $(OBJ)
+-      $(CXX) -o $@ $(addprefix $O,$(OBJ)) $(LFLAGS) 
+-      cp $@ $@-unstripped
+-      strip $@
+-# This is here in case we find a way to prevent linkage against libstdc++
+-#     $(CC) -o $@ $(addprefix $O,$(OBJ)) $(LFLAGS) 
++      $(CXX) $(LDFLAGS) -o $@ $(addprefix $O,$(OBJ))
+ 
+ $(TARGET): $O$(TARGET)
+       @echo -- Linking $(TARGET) to $O$(TARGET)
+@@ -196,7 +193,7 @@ debclean: distclean
                .version_patch`  > .version
  
  _version.h: .version



Home | Main Index | Thread Index | Old Index