pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/vimb vimb: Honors user's LDFLAGS for webext



details:   https://anonhg.NetBSD.org/pkgsrc/rev/11f5e57da8bd
branches:  trunk
changeset: 768470:11f5e57da8bd
user:      leot <leot%pkgsrc.org@localhost>
date:      Sat Oct 23 21:29:15 2021 +0000

description:
vimb: Honors user's LDFLAGS for webext

Noticed via PKGSRC_USE_RELRO.

PKGREVISION++

diffstat:

 www/vimb/Makefile                |   4 ++--
 www/vimb/distinfo                |   3 ++-
 www/vimb/patches/patch-config.mk |  15 +++++++++++++++
 3 files changed, 19 insertions(+), 3 deletions(-)

diffs (43 lines):

diff -r f83b597f0f8c -r 11f5e57da8bd www/vimb/Makefile
--- a/www/vimb/Makefile Sat Oct 23 19:28:35 2021 +0000
+++ b/www/vimb/Makefile Sat Oct 23 21:29:15 2021 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.42 2021/04/21 11:42:56 adam Exp $
+# $NetBSD: Makefile,v 1.43 2021/10/23 21:29:15 leot Exp $
 
 DISTNAME=      vimb-3.6.0
-PKGREVISION=   7
+PKGREVISION=   8
 CATEGORIES=    www
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=fanglingsu/}
 
diff -r f83b597f0f8c -r 11f5e57da8bd www/vimb/distinfo
--- a/www/vimb/distinfo Sat Oct 23 19:28:35 2021 +0000
+++ b/www/vimb/distinfo Sat Oct 23 21:29:15 2021 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.8 2021/10/07 15:08:56 nia Exp $
+$NetBSD: distinfo,v 1.9 2021/10/23 21:29:15 leot Exp $
 
 RMD160 (vimb-3.6.0.tar.gz) = 96e23c9df28d067fec149e7a97a9f3b24048c0ec
 SHA512 (vimb-3.6.0.tar.gz) = 0c1a131641c47ec0dd7a5346d5e7260f85293ecc105e04e6265680c53bbbdc8d98acc4f4e11443efc4e4148aa0b77c496cf7e5f59d44857e6e612c3d4a643c8f
 Size (vimb-3.6.0.tar.gz) = 144750 bytes
+SHA1 (patch-config.mk) = 0520258bf7d3f7c44f4124ab4067f217860a19ca
diff -r f83b597f0f8c -r 11f5e57da8bd www/vimb/patches/patch-config.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/vimb/patches/patch-config.mk  Sat Oct 23 21:29:15 2021 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-config.mk,v 1.1 2021/10/23 21:29:16 leot Exp $
+
+Honors user's LDFLAGS for web extension.
+
+--- config.mk.orig     2020-01-02 22:17:49.000000000 +0000
++++ config.mk
+@@ -36,7 +36,7 @@ endif
+ EXTTARGET   = webext_main.so
+ EXTCFLAGS   = ${CFLAGS} $(shell pkg-config --cflags webkit2gtk-web-extension-4.0)
+ EXTCPPFLAGS = $(CPPFLAGS)
+-EXTLDFLAGS  = $(shell pkg-config --libs webkit2gtk-web-extension-4.0) -shared
++EXTLDFLAGS  = ${LDFLAGS} $(shell pkg-config --libs webkit2gtk-web-extension-4.0) -shared
+ 
+ # flags used for the main application
+ CFLAGS     += $(shell pkg-config --cflags $(LIBS))



Home | Main Index | Thread Index | Old Index