substitute hard-coded compiler rpath flag with ${COMPILER_RPATH_FLAG}.
PR pkg/47404.
This commit is contained in:
parent
104ec6a35b
commit
c3e55da4a1
1 changed files with 6 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue