summaryrefslogtreecommitdiff
path: root/wm
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2018-03-06 15:53:07 +0000
committerwiz <wiz@pkgsrc.org>2018-03-06 15:53:07 +0000
commit96486f0d0f116cbf6f6797ae5f867b4f97d200f2 (patch)
treec7cd5a556253eab5ec560213badb827d39ca0113 /wm
parent44a23a6130b2b459ba98f93d7738b281d5e8f769 (diff)
downloadpkgsrc-96486f0d0f116cbf6f6797ae5f867b4f97d200f2.tar.gz
bbrun: honor LDFLAGS. Fixes RELRO build.
Bump PKGREVISION.
Diffstat (limited to 'wm')
-rw-r--r--wm/bbrun/Makefile8
-rw-r--r--wm/bbrun/distinfo3
-rw-r--r--wm/bbrun/patches/patch-Makefile15
3 files changed, 21 insertions, 5 deletions
diff --git a/wm/bbrun/Makefile b/wm/bbrun/Makefile
index 588073604a8..5ecb94a4d1d 100644
--- a/wm/bbrun/Makefile
+++ b/wm/bbrun/Makefile
@@ -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 @@ COMMENT= Run utility for BlackBox
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 @@ do-install:
.include "../../x11/gtk/buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"
.include "../../x11/xextproto/buildlink3.mk"
-
.include "../../mk/bsd.pkg.mk"
diff --git a/wm/bbrun/distinfo b/wm/bbrun/distinfo
index 776256e7f7d..fef76c03e2a 100644
--- a/wm/bbrun/distinfo
+++ b/wm/bbrun/distinfo
@@ -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 --git a/wm/bbrun/patches/patch-Makefile b/wm/bbrun/patches/patch-Makefile
new file mode 100644
index 00000000000..e6b0344d670
--- /dev/null
+++ b/wm/bbrun/patches/patch-Makefile
@@ -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)