summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorobache <obache>2013-04-15 13:31:28 +0000
committerobache <obache>2013-04-15 13:31:28 +0000
commitc07470b25d1d6c3a288f7894a55fbe48729f0bed (patch)
treeeaf12485c169d9229f2d5f378b73c96825d9a737 /devel
parentfacd1da47b2f07013b0dd4463bea16e2d1f7eeea (diff)
downloadpkgsrc-c07470b25d1d6c3a288f7894a55fbe48729f0bed.tar.gz
substitute hard-coded compiler rpath flag with ${COMPILER_RPATH_FLAG}.
PR pkg/47404.
Diffstat (limited to 'devel')
-rw-r--r--devel/py-pysvn/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/devel/py-pysvn/Makefile b/devel/py-pysvn/Makefile
index 3b838ed13ca..e32dc59e3a1 100644
--- a/devel/py-pysvn/Makefile
+++ b/devel/py-pysvn/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2013/03/28 21:22:57 joerg Exp $
+# $NetBSD: Makefile,v 1.19 2013/04/15 13:31:28 obache Exp $
#
VERS= 1.7.6
@@ -22,6 +22,11 @@ USE_LANGUAGES= c
BUILDLINK_TRANSFORM+= rm:-lresolv
.endif
+SUBST_CLASSES+= rpath-flg
+SUBST_STAGE.rpath-flg= pre-configure
+SUBST_FILES.rpath-flg= Source/setup_configure.py
+SUBST_SED.rpath-flg= -e 's|-Wl,--rpath|${COMPILER_RPATH_FLAG}|g'
+
.include "../../devel/subversion-base/buildlink3.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/krb5.buildlink3.mk"