pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/py-sip Pass LDFLAGS to build. Fixes RELRO.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5a9d65744795
branches:  trunk
changeset: 365383:5a9d65744795
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Jul 15 13:20:50 2017 +0000

description:
Pass LDFLAGS to build. Fixes RELRO.

diffstat:

 x11/py-sip/Makefile |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r e39146359a60 -r 5a9d65744795 x11/py-sip/Makefile
--- a/x11/py-sip/Makefile       Sat Jul 15 10:18:33 2017 +0000
+++ b/x11/py-sip/Makefile       Sat Jul 15 13:20:50 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.47 2016/08/28 15:48:37 wiz Exp $
+# $NetBSD: Makefile,v 1.48 2017/07/15 13:20:50 wiz Exp $
 
 DISTNAME=      sip-4.17
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -9,8 +9,6 @@
 HOMEPAGE=      http://www.riverbankcomputing.com/software/sip/
 COMMENT=       Tool to create Python bindings for C++ libraries
 
-CONFLICTS+=    ${PYPKGPREFIX}-qt2-sip-* ${PYPKGPREFIX}-qt3-sip-*
-
 USE_LANGUAGES=         c c++
 USE_LIBTOOL=           yes
 USE_TOOLS+=            gmake
@@ -44,6 +42,7 @@
 CONFIGURE_ARGS+=       LFLAGS_SHLIB="-shared"
 .  endif
 .endif
+CONFIGURE_ARGS+=       LFLAGS=${LDFLAGS:Q}
 
 # Hack: gcc on sparc64 miscompiles sipgen/parser.c at -O2
 .if ${MACHINE_ARCH} == "sparc64" && !empty(CC_VERSION:Mgcc*)



Home | Main Index | Thread Index | Old Index