pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/buildlink3 Drop special casing of rpath in /usr/lib...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bc6567c66d8e
branches:  trunk
changeset: 648631:bc6567c66d8e
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sun Mar 15 21:18:32 2015 +0000

description:
Drop special casing of rpath in /usr/lib, the change didn't really work
due to misspelling in the old wrapper case and for cwrappers, it creates
more problems than it fixes. If parts of /usr/lib should really be
preserved, they should be added explicitly as pass-thru directory.

diffstat:

 mk/buildlink3/bsd.buildlink3.mk |  10 +---------
 1 files changed, 1 insertions(+), 9 deletions(-)

diffs (24 lines):

diff -r 7f02c03d163b -r bc6567c66d8e mk/buildlink3/bsd.buildlink3.mk
--- a/mk/buildlink3/bsd.buildlink3.mk   Sun Mar 15 21:16:17 2015 +0000
+++ b/mk/buildlink3/bsd.buildlink3.mk   Sun Mar 15 21:18:32 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.buildlink3.mk,v 1.233 2015/03/15 19:23:26 joerg Exp $
+# $NetBSD: bsd.buildlink3.mk,v 1.234 2015/03/15 21:18:32 joerg Exp $
 #
 # Copyright (c) 2004 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -993,14 +993,6 @@
 _CWRAPPERS_TRANSFORM+= R:${_dir_}:${_dir_}
 .endfor
 #
-# Protect /usr/lib/* as they're all allowed to be specified for the
-# runtime library search path.
-#
-.for _dir_ in ${SYSTEM_DEFAULT_RPATH:S/:/ /g}
-_BLNK_TRANSFORM+=      sub-rpath:${_dir_}:${_BLNK_MANGLE_DIR.${_dir}}
-_CWRAPPERS_TRANSFORM+= R:/usr/lib:/usr/lib
-.endfor
-#
 # Convert direct paths to static libraries and libtool archives in
 # ${LOCALBASE} or ${X11BASE} into references into ${BUILDLINK_DIR}.
 #



Home | Main Index | Thread Index | Old Index