pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils Add support for LDFLAGS when building xentool...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/074cbe1a786d
branches:  trunk
changeset: 370915:074cbe1a786d
user:      khorben <khorben%pkgsrc.org@localhost>
date:      Sat Oct 28 01:46:11 2017 +0000

description:
Add support for LDFLAGS when building xentools{42,45,46,48}

This helps pass the RELRO check for these packages.

diffstat:

 sysutils/xentools42/Makefile |  3 ++-
 sysutils/xentools45/Makefile |  3 ++-
 sysutils/xentools46/Makefile |  3 ++-
 sysutils/xentools48/Makefile |  3 ++-
 4 files changed, 8 insertions(+), 4 deletions(-)

diffs (68 lines):

diff -r ecfe07e95015 -r 074cbe1a786d sysutils/xentools42/Makefile
--- a/sysutils/xentools42/Makefile      Fri Oct 27 23:50:38 2017 +0000
+++ b/sysutils/xentools42/Makefile      Sat Oct 28 01:46:11 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.61 2017/09/08 09:51:25 jaapb Exp $
+# $NetBSD: Makefile,v 1.62 2017/10/28 01:46:11 khorben Exp $
 
 VERSION=       4.2.5
 VERSION_IPXE=  1.0.0
@@ -54,6 +54,7 @@
 CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFBASE}
 
 MAKE_ENV+=             PREFIX=${prefix:Q} WRKSRC=${WRKSRC}
+MAKE_ENV+=             APPEND_LIB=${LDFLAGS:Q}
 MAKE_ENV+=             EGDIR=${EGDIR}
 MAKE_ENV+=             BASH_COMPLETION_DIR=${EGDIR}
 MAKE_ENV+=             MV=${MV:Q} PYTHON=${PYTHONBIN:Q} SED=${SED:Q}
diff -r ecfe07e95015 -r 074cbe1a786d sysutils/xentools45/Makefile
--- a/sysutils/xentools45/Makefile      Fri Oct 27 23:50:38 2017 +0000
+++ b/sysutils/xentools45/Makefile      Sat Oct 28 01:46:11 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.52 2017/10/27 23:50:38 khorben Exp $
+# $NetBSD: Makefile,v 1.53 2017/10/28 01:46:11 khorben Exp $
 
 VERSION=       4.5.5
 PKGREVISION=   7
@@ -52,6 +52,7 @@
 CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFBASE}
 
 MAKE_ENV+=             PREFIX=${prefix:Q} WRKSRC=${WRKSRC}
+MAKE_ENV+=             APPEND_LIB=${LDFLAGS:Q}
 MAKE_ENV+=             XEN_EXAMPLES_DIR=${EGDIR}
 MAKE_ENV+=             MV=${MV:Q} PYTHON=${PYTHONBIN:Q} SED=${SED:Q}
 MAKE_ENV+=             V=YES
diff -r ecfe07e95015 -r 074cbe1a786d sysutils/xentools46/Makefile
--- a/sysutils/xentools46/Makefile      Fri Oct 27 23:50:38 2017 +0000
+++ b/sysutils/xentools46/Makefile      Sat Oct 28 01:46:11 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2017/10/27 23:50:38 khorben Exp $
+# $NetBSD: Makefile,v 1.25 2017/10/28 01:46:11 khorben Exp $
 #
 # VERSION is set in version.mk as it is shared with other packages
 .include               "version.mk"
@@ -53,6 +53,7 @@
 CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFBASE}
 
 MAKE_ENV+=             PREFIX=${prefix:Q} WRKSRC=${WRKSRC}
+MAKE_ENV+=             APPEND_LIB=${LDFLAGS:Q}
 MAKE_ENV+=             XEN_EXAMPLES_DIR=${EGDIR}
 MAKE_ENV+=             MV=${MV:Q} PYTHON=${PYTHONBIN:Q} SED=${SED:Q}
 MAKE_ENV+=             V=YES
diff -r ecfe07e95015 -r 074cbe1a786d sysutils/xentools48/Makefile
--- a/sysutils/xentools48/Makefile      Fri Oct 27 23:50:38 2017 +0000
+++ b/sysutils/xentools48/Makefile      Sat Oct 28 01:46:11 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2017/10/27 23:50:38 khorben Exp $
+# $NetBSD: Makefile,v 1.12 2017/10/28 01:46:11 khorben Exp $
 #
 VERSION=       4.8.2
 VERSION_IPXE=  827dd1bfee67daa683935ce65316f7e0f057fe1c
@@ -92,6 +92,7 @@
 CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFBASE}
 
 MAKE_ENV+=             PREFIX=${prefix:Q} WRKSRC=${WRKSRC}
+MAKE_ENV+=             APPEND_LIB=${LDFLAGS:Q}
 MAKE_ENV+=             XEN_EXAMPLES_DIR=${EGDIR}
 MAKE_ENV+=             MV=${MV:Q} PYTHON=${PYTHONBIN:Q} SED=${SED:Q}
 MAKE_ENV+=             V=YES



Home | Main Index | Thread Index | Old Index