diff options
author | jperkin <jperkin@pkgsrc.org> | 2013-05-13 11:38:30 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2013-05-13 11:38:30 +0000 |
commit | c5de10c6d56955cf3e3218ac72560ce4a2eea3ad (patch) | |
tree | c8645234a698df8160091576c29cd2e1ba8641c1 /mk | |
parent | 3f05733b019053bb1492e16d7ac779fa1d1a6ba9 (diff) | |
download | pkgsrc-c5de10c6d56955cf3e3218ac72560ce4a2eea3ad.tar.gz |
It is a common misconception that ${FOO:tsc} will split FOO on 'c',
however that is not the case. To get that behaviour use ':S/c/ /g'.
Fixes a number of issues on various OPSYS introduced with the recent
COMPILER_* and SYSTEM_DEFAULT_RPATH abstractions.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/buildlink3/bsd.buildlink3.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/buildlink3/bsd.buildlink3.mk b/mk/buildlink3/bsd.buildlink3.mk index 9a21ab184f4..8cadc97d9ef 100644 --- a/mk/buildlink3/bsd.buildlink3.mk +++ b/mk/buildlink3/bsd.buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.buildlink3.mk,v 1.219 2013/04/28 13:37:34 obache Exp $ +# $NetBSD: bsd.buildlink3.mk,v 1.220 2013/05/13 11:38:30 jperkin Exp $ # # Copyright (c) 2004 The NetBSD Foundation, Inc. # All rights reserved. @@ -850,7 +850,7 @@ _BLNK_PASSTHRU_RPATHDIRS+= ${BUILDLINK_PASSTHRU_RPATHDIRS} # Strip out /usr/lib (and /usr/lib${LIBABISUFFIX}}) as it's always # automatically in the runtime library search path. # -.for _dir_ in ${SYSTEM_DEFAULT_RPATH:ts:} +.for _dir_ in ${SYSTEM_DEFAULT_RPATH:S/:/ /g} _BLNK_PASSTHRU_RPATHDIRS:= ${_BLNK_PASSTHRU_RPATHDIRS:N${_dir_}} .endfor |