summaryrefslogtreecommitdiff
path: root/x11/kdelibs2
diff options
context:
space:
mode:
authorskrll <skrll@pkgsrc.org>2002-03-28 08:57:38 +0000
committerskrll <skrll@pkgsrc.org>2002-03-28 08:57:38 +0000
commitae7898d267ead61384e72c6d84b79fe767d7db7c (patch)
treec73ce13e1fede193e0e83b6079e64bd7c1832074 /x11/kdelibs2
parent1b33fe7e026137fb7749a01dbb1da4fe20a3fea7 (diff)
downloadpkgsrc-ae7898d267ead61384e72c6d84b79fe767d7db7c.tar.gz
Do the kded fix differently.
Don't mess with startkde which caused timing problems on slower machines (see pkg/16071). Instead, delete the kded module files so that kdeinit falls back to exec(3)ing the binary. (bye bye sed script)
Diffstat (limited to 'x11/kdelibs2')
-rw-r--r--x11/kdelibs2/Makefile15
1 files changed, 14 insertions, 1 deletions
diff --git a/x11/kdelibs2/Makefile b/x11/kdelibs2/Makefile
index 9bcfc1a9847..21a232e987b 100644
--- a/x11/kdelibs2/Makefile
+++ b/x11/kdelibs2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.34 2002/03/15 04:09:14 markd Exp $
+# $NetBSD: Makefile,v 1.35 2002/03/28 08:57:39 skrll Exp $
DISTNAME= kdelibs-2.2.2
PKGREVISION= 1
@@ -56,6 +56,14 @@ PLIST_SUBST+= CUPS=
PLIST_SUBST+= CUPS="@comment "
.endif
+.if ${OPSYS} == "NetBSD"
+. if ${OS_VERSION:M1.5.[12]*} || ${OS_VERSION:M1.[0-4]*}
+PLIST_SUBST+= KDED_WORKAROUND="@comment "
+. else
+PLIST_SUBST+= KDED_WORKAROUND=""
+. endif
+.endif
+
# Add a newline to EOF so patch on Solaris succeeds with patch-bk
pre-patch:
@@ -70,6 +78,11 @@ ICONDIRS= actions/kde actions apps devices filesystems mimetypes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/kde/locale
+.if ${OPSYS} == "NetBSD"
+. if ${OS_VERSION:M1.5.[12]*} || ${OS_VERSION:M1.[0-4]*}
+ @${RM} ${PREFIX}/lib/kded.*
+. endif
+.endif
@( ${CAT} ${PKGDIR}/PLIST; \
for color in ${ICONCOLORS}; do \
colordir=share/kde/icons/$${color}; \