diff options
author | jlam <jlam> | 2002-09-27 00:22:06 +0000 |
---|---|---|
committer | jlam <jlam> | 2002-09-27 00:22:06 +0000 |
commit | c8f9cb4f97d665c58c7a6ae2e71876daa2717184 (patch) | |
tree | f989a708b092a5b50c648581f8b3a8374cae2220 /mk | |
parent | 316df2f8f7f53609fff8a5df935c9f6362bc7410 (diff) | |
download | pkgsrc-c8f9cb4f97d665c58c7a6ae2e71876daa2717184.tar.gz |
Change /usr/lib/*.la to ${BUILDLINK_DIR}/lib/*.la in libtool archives when
buildlinking them into ${BUILDLINK_DIR}. This should allow cases where a
/usr/lib/libintl.la escaped into an installed libtool archive (during the
time when buildlink2 was broken for about 4 days) to be handled properly.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/buildlink2/bsd.buildlink2.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/buildlink2/bsd.buildlink2.mk b/mk/buildlink2/bsd.buildlink2.mk index 1d3e6747e45..37a1b7d6215 100644 --- a/mk/buildlink2/bsd.buildlink2.mk +++ b/mk/buildlink2/bsd.buildlink2.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.buildlink2.mk,v 1.31 2002/09/24 22:16:42 jlam Exp $ +# $NetBSD: bsd.buildlink2.mk,v 1.32 2002/09/27 00:22:06 jlam Exp $ # # An example package buildlink2.mk file: # @@ -118,6 +118,7 @@ do-buildlink: ${_target_} # symlinks in ${BUILDLINK_DIR}. # _LT_ARCHIVE_TRANSFORM_SED= \ + -e "s|$/usr\(/lib/[^ ]*\.la\)|${BUILDLINK_DIR}\1|g" \ -e "s|${LOCALBASE}\(/lib/[^ ]*\.la\)|${BUILDLINK_DIR}\1|g" \ -e "s|${X11BASE}\(/lib/[^ ]*\.la\)|${BUILDLINK_DIR}\1|g" |