Apply user transformation earlier to make it possible to drop

to-be-mangled entries like rpath using BUILDLINK_TRANSFORM.
This commit is contained in:
joerg 2012-05-11 11:09:42 +00:00
parent 1a9b9fd0f4
commit 0131de3226

View file

@ -1,4 +1,4 @@
# $NetBSD: bsd.buildlink3.mk,v 1.212 2012/04/23 07:42:13 sbd Exp $
# $NetBSD: bsd.buildlink3.mk,v 1.213 2012/05/11 11:09:42 joerg Exp $
#
# Copyright (c) 2004 The NetBSD Foundation, Inc.
# All rights reserved.
@ -902,6 +902,10 @@ _BLNK_PHYSICAL_PATH.${_var_}!= \
MAKEVARS+= _BLNK_PHYSICAL_PATH.${_var_}
.endfor
#
# Add any package specified transformations (l:, etc.)
#
_BLNK_TRANSFORM+= ${BUILDLINK_TRANSFORM}
# Transform all references to the physical paths to some important
# directories into their given names.
#
@ -1012,10 +1016,6 @@ _BLNK_TRANSFORM+= untransform:sub-mangle:${LOCALBASE}:${_BLNK_MANGLE_DIR.${LOCAL
_BLNK_TRANSFORM+= untransform:sub-mangle:${X11BASE}:${_BLNK_MANGLE_DIR.${X11BASE}}
.endif
#
# Add any package specified transformations (l:, etc.)
#
_BLNK_TRANSFORM+= ${BUILDLINK_TRANSFORM}
#
# Explicitly remove everything else that's an absolute path, since we've
# already protected the ones we care about.
#