pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/scons scons: Use COMPILER_RPATH_FLAG. Bump PKGR...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4529c4b4dc9c
branches:  trunk
changeset: 375060:4529c4b4dc9c
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Fri Feb 02 15:34:38 2018 +0000

description:
scons: Use COMPILER_RPATH_FLAG.  Bump PKGREVISION.

diffstat:

 devel/scons/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r 87c3be0736fb -r 4529c4b4dc9c devel/scons/Makefile
--- a/devel/scons/Makefile      Fri Feb 02 14:08:27 2018 +0000
+++ b/devel/scons/Makefile      Fri Feb 02 15:34:38 2018 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.41 2017/11/29 09:09:03 adam Exp $
+# $NetBSD: Makefile,v 1.42 2018/02/02 15:34:38 jperkin Exp $
 
 DISTNAME=      scons-3.0.1
+PKGREVISION=   1
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=scons/}
 MASTER_SITES+= ${MASTER_SITE_PYPI:=S/SCons/}
@@ -19,6 +20,11 @@
 # that have SConstruct files that only work with python-2.x
 PYTHON_VERSIONS_ACCEPTED=      27
 
+SUBST_CLASSES+=                rflag
+SUBST_STAGE.rflag=     pre-configure
+SUBST_FILES.rflag=     engine/SCons/Tool/gnulink.py
+SUBST_SED.rflag=       -e 's|-Wl,-rpath=|${COMPILER_RPATH_FLAG}|g'
+
 .include "../../lang/python/application.mk"
 .include "../../lang/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index