pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/wm/bbrun bbrun: honor LDFLAGS. Fixes RELRO build.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/45fb922088ed
branches:  trunk
changeset: 376686:45fb922088ed
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Mar 06 15:53:07 2018 +0000

description:
bbrun: honor LDFLAGS. Fixes RELRO build.

Bump PKGREVISION.

diffstat:

 wm/bbrun/Makefile               |   8 ++++----
 wm/bbrun/distinfo               |   3 ++-
 wm/bbrun/patches/patch-Makefile |  15 +++++++++++++++
 3 files changed, 21 insertions(+), 5 deletions(-)

diffs (61 lines):

diff -r 663bd2566dbb -r 45fb922088ed wm/bbrun/Makefile
--- a/wm/bbrun/Makefile Tue Mar 06 15:50:52 2018 +0000
+++ b/wm/bbrun/Makefile Tue Mar 06 15:53:07 2018 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.22 2013/08/15 20:26:51 rillig Exp $
+# $NetBSD: Makefile,v 1.23 2018/03/06 15:53:07 wiz Exp $
 
 DISTNAME=      bbrun-1.3
-PKGREVISION=   5
+PKGREVISION=   6
 CATEGORIES=    wm x11
 MASTER_SITES=  http://www.dwave.net/~jking/bbrun/
 
@@ -12,7 +12,8 @@
 WRKSRC=                ${WRKDIR}/${DISTNAME}/bbrun
 USE_TOOLS+=    gmake
 BUILD_TARGET=  bbrun
-AUTO_MKDIRS=   yes
+
+INSTALLATION_DIRS=     bin share/doc/bbrun
 
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/bbrun ${DESTDIR}${PREFIX}/bin
@@ -21,5 +22,4 @@
 .include "../../x11/gtk/buildlink3.mk"
 .include "../../x11/libXpm/buildlink3.mk"
 .include "../../x11/xextproto/buildlink3.mk"
-
 .include "../../mk/bsd.pkg.mk"
diff -r 663bd2566dbb -r 45fb922088ed wm/bbrun/distinfo
--- a/wm/bbrun/distinfo Tue Mar 06 15:50:52 2018 +0000
+++ b/wm/bbrun/distinfo Tue Mar 06 15:53:07 2018 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.6 2015/11/02 23:42:50 agc Exp $
+$NetBSD: distinfo,v 1.7 2018/03/06 15:53:07 wiz Exp $
 
 SHA1 (bbrun-1.3.tar.gz) = 719af622334f6c3186f07da7c9246a8b05381f6c
 RMD160 (bbrun-1.3.tar.gz) = 7a26b279e5fce1e3476978bd4f4764272a065bb1
 SHA512 (bbrun-1.3.tar.gz) = 3d5cb030e0636b7e5a6c6ceac2add6453df128c7fb71701f54683d93017e1197a194cda70661a3a5f9ceed367b2504d919d36442372460dccb5a2c97849da942
 Size (bbrun-1.3.tar.gz) = 19423 bytes
 SHA1 (patch-.._wmgeneral_list.h) = 8c9d1e5e1b2fd18d6afcdc3740077c72f0e033b0
+SHA1 (patch-Makefile) = 6fbd49bbe96c495b27e5d35a55f9ac568003584f
diff -r 663bd2566dbb -r 45fb922088ed wm/bbrun/patches/patch-Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/bbrun/patches/patch-Makefile   Tue Mar 06 15:53:07 2018 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-Makefile,v 1.1 2018/03/06 15:53:07 wiz Exp $
+
+Honor LDFLAGS.
+
+--- Makefile.orig      2002-02-06 20:05:51.000000000 +0000
++++ Makefile
+@@ -10,7 +10,7 @@ OBJS   = bbrun.o \
+       $(CC) -c -O2 -Wall $< -o $*.o $(CFLAGS)
+ 
+ bbrun: $(OBJS)
+-      $(CC) -Wall -g -o bbrun $^ $(LIBS)
++      $(CC) $(LDFLAGS) -Wall -g -o bbrun $^ $(LIBS)
+ 
+ clean:
+       rm -f bbrun $(OBJS)



Home | Main Index | Thread Index | Old Index