pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/calibre Honor LDFLAGS. Fixes RELRO build.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b5d15cff267f
branches:  trunk
changeset: 365424:b5d15cff267f
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Jul 16 15:30:50 2017 +0000

description:
Honor LDFLAGS. Fixes RELRO build.

diffstat:

 misc/calibre/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 187d285f573b -r b5d15cff267f misc/calibre/Makefile
--- a/misc/calibre/Makefile     Sun Jul 16 14:22:58 2017 +0000
+++ b/misc/calibre/Makefile     Sun Jul 16 15:30:50 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.181 2017/05/16 13:37:24 wiz Exp $
+# $NetBSD: Makefile,v 1.182 2017/07/16 15:30:50 wiz Exp $
 
 DISTNAME=      calibre-2.85.1
 CATEGORIES=    misc
@@ -88,6 +88,7 @@
 MAKE_ENV+=             PODOFO_INC_DIR=${BUILDLINK_PREFIX.podofo}/include/podofo
 MAKE_ENV+=             PODOFO_LIB_DIR=${BUILDLINK_PREFIX.podofo}/lib
 MAKE_ENV+=             SIP_BIN=${BUILDLINK_PREFIX.py-sip}/bin/sip${PYVERSSUFFIX}
+MAKE_ENV+=             LFLAGS=${LDFLAGS:Q}
 #MAKE_ENV+=            WITH_USB=no
 
 # Let's depend on the ones we have in pkgsrc instead of the bundled ones.



Home | Main Index | Thread Index | Old Index