summaryrefslogtreecommitdiff
path: root/mk/buildlink2
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-09-27 00:22:06 +0000
committerjlam <jlam@pkgsrc.org>2002-09-27 00:22:06 +0000
commit57ede4f404a63fb727db45b2ec81135fda2db412 (patch)
treef989a708b092a5b50c648581f8b3a8374cae2220 /mk/buildlink2
parentc7bed044381ffcea09da5e64f6503d63554362fa (diff)
downloadpkgsrc-57ede4f404a63fb727db45b2ec81135fda2db412.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/buildlink2')
-rw-r--r--mk/buildlink2/bsd.buildlink2.mk3
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"