summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2017-07-15 13:20:50 +0000
committerwiz <wiz@pkgsrc.org>2017-07-15 13:20:50 +0000
commitb757daa15d76e445b95437ba0546241dbdf4d28d (patch)
treea0a4e64f46fa788669dc1ae2caa3a0b155b15324 /x11
parente87caad0e19f6e5b8dc7987f1c04facbd6e320eb (diff)
downloadpkgsrc-b757daa15d76e445b95437ba0546241dbdf4d28d.tar.gz
Pass LDFLAGS to build. Fixes RELRO.
Diffstat (limited to 'x11')
-rw-r--r--x11/py-sip/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/x11/py-sip/Makefile b/x11/py-sip/Makefile
index 5855553b097..922eca171ca 100644
--- a/x11/py-sip/Makefile
+++ b/x11/py-sip/Makefile
@@ -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 @@ MAINTAINER= pkgsrc-users@NetBSD.org
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 -mimpure-text"
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*)