app-i18n/xvnkb: DESTTREE -> /usr, #582972
authorMichał Górny <mgorny@gentoo.org>
Sat, 14 May 2016 08:12:29 +0000 (10:12 +0200)
committerMichał Górny <mgorny@gentoo.org>
Sat, 14 May 2016 08:49:25 +0000 (10:49 +0200)
app-i18n/xvnkb/xvnkb-0.2.8a-r1.ebuild
app-i18n/xvnkb/xvnkb-0.2.9a-r1.ebuild

index a2224e57cd8ed7621c61a03885bb4e469f5af3ce..a55599b57e6c02c1c3edc1e055d14e8e7cb11443 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -61,7 +61,7 @@ pkg_postinst() {
        elog "Remember to"
        elog "$ export LANG=en_US.UTF-8"
        elog "(or any other UTF-8 locale) and"
-       elog "$ export LD_PRELOAD=${DESTTREE}/lib/xvnkb.so"
+       elog "$ export LD_PRELOAD=/usr/lib/xvnkb.so"
        elog "before starting X Window"
        elog "More documents are in /usr/share/doc/${PF}"
        ewarn "Programs with suid/sgid will have LD_PRELOAD cleared"
index e7489aff925f392e3cd1b4f690a1e558c9c570b9..2f708652009245a1cf4c578b4df13ac8a6c9c6db 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -57,7 +57,7 @@ pkg_postinst() {
        elog "Remember to"
        elog "$ export LANG=en_US.UTF-8"
        elog "(or any other UTF-8 locale) and"
-       elog "$ export LD_PRELOAD=${DESTTREE}/lib/xvnkb.so"
+       elog "$ export LD_PRELOAD=/usr/$(get_libdir)/xvnkb.so"
        elog "before starting X Window"
        elog "More documents are in /usr/share/doc/${PF}"
        ewarn "Programs with suid/sgid will have LD_PRELOAD cleared"