diff options
author | skrll <skrll@pkgsrc.org> | 2002-03-25 11:02:36 +0000 |
---|---|---|
committer | skrll <skrll@pkgsrc.org> | 2002-03-25 11:02:36 +0000 |
commit | fcf54a72956b15f86d57ec286e40461bcec5dd38 (patch) | |
tree | 8304311deeef036bc2b46276da7ff3a06b6e98fb /x11/kdebase2 | |
parent | 8a935a1c4c76df876da7eb35c0f64c73da5ce896 (diff) | |
download | pkgsrc-fcf54a72956b15f86d57ec286e40461bcec5dd38.tar.gz |
Workaround a problem in old versions of ld.elf_so that stops kded modules
from working. The most obvious example of this is being able to print.
The workaround is to not use kdeinit to load/open kded, but instead
launch it as a separate process. From Marcello Balduccini
<marcello.balduccini@ttu.edu> in pkg/15806.
Thanks to Stoned Elipot <seb@netbsd.org> for testing the fix and to
Antti Kantee <pooka@netbsd.org> for help with sed(1).
Diffstat (limited to 'x11/kdebase2')
-rw-r--r-- | x11/kdebase2/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/x11/kdebase2/Makefile b/x11/kdebase2/Makefile index ec76dcd130e..ef9a55308e4 100644 --- a/x11/kdebase2/Makefile +++ b/x11/kdebase2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.35 2002/03/13 17:37:58 fredb Exp $ +# $NetBSD: Makefile,v 1.36 2002/03/25 11:02:36 skrll Exp $ DISTNAME= kdebase-2.2.2 PKGREVISION= 1 @@ -115,6 +115,14 @@ post-install: ${SED} -e 's|^#\(LogoPixmap\)=.*|\1=${PREFIX}/${ICONDIR}/Daemon.png|' \ kdmrc > ${WRKDIR}/kdmrc.ad; \ ${CP} -f ${WRKDIR}/kdmrc.ad kdmrc +. if ${OS_VERSION:M1.5.[12]*} || ${OS_VERSION:M1.[0-4]*} + cd ${PREFIX}/bin; \ + ${SED} \ + -e '1{x;s/^/kded/;x;}' \ + -e '/LD_BIND_NOW=true/{ s:kdeinit:& --no-kded:;G; }' \ + startkde > ${WRKDIR}/startkde.fix; \ + ${CP} -f ${WRKDIR}/startkde.fix startkde +. endif .endif .include "../../databases/openldap/buildlink.mk" |