summaryrefslogtreecommitdiffstats
path: root/x11/kde4-runtime
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2001-12-25 00:38:41 +0000
committerpetef <petef@FreeBSD.org>2001-12-25 00:38:41 +0000
commit213eeedf58f9c5a8b1282bbde6beb75c6949e0b6 (patch)
treedc0b00f330b098cd752278790f1463826a495adb /x11/kde4-runtime
parentfe88a2cc33292febac1d92c205da53e7994bcff5 (diff)
downloadFreeBSD-ports-213eeedf58f9c5a8b1282bbde6beb75c6949e0b6.zip
FreeBSD-ports-213eeedf58f9c5a8b1282bbde6beb75c6949e0b6.tar.gz
If not building WITH_MOTIF (required for Netscape plugins), don't try to load
nsplugin in konqueror_config.desktop. PR: 32769 Submitted by: Alan Eldridge <alane@geeksrus.net>
Diffstat (limited to 'x11/kde4-runtime')
-rw-r--r--x11/kde4-runtime/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/x11/kde4-runtime/Makefile b/x11/kde4-runtime/Makefile
index 9c4478f..1bcf8e3 100644
--- a/x11/kde4-runtime/Makefile
+++ b/x11/kde4-runtime/Makefile
@@ -63,6 +63,12 @@ post-extract:
@${ECHO} "#!/bin/sh" > ${WRKSRC}/mkpamserv
@${ECHO} "exit 0" >> ${WRKSRC}/mkpamserv
+post-patch:
+.if !defined(WITH_MOTIF)
+ @${PERL} -pi -e 's/nsplugin//' \
+ ${WRKSRC}/konqueror/konqueror_config.desktop
+.endif
+
pre-configure:
${MKDIR} ${WRKSRC}/auto-bin
.for AC in autoconf autoheader
OpenPOWER on IntegriCloud