summaryrefslogtreecommitdiff
path: root/net/kdenetwork4
diff options
context:
space:
mode:
authorDmitry Sivachenko <demon@FreeBSD.org>2002-05-09 14:40:11 +0000
committerDmitry Sivachenko <demon@FreeBSD.org>2002-05-09 14:40:11 +0000
commit157b20cc67064e261b1c825cfb8485a0e9f0778b (patch)
tree1be015b05b4d014ef51b4515af5afdf589628cf7 /net/kdenetwork4
parentfix a badly out of date pkg-plist. (diff)
Add a kluge to comment out ktalkd files if /var/run/utmp is
not found; this is done for the benefit of bento building. Submitted by: Alan E <alane@geeksrus.net>
Notes
Notes: svn path=/head/; revision=58808
Diffstat (limited to 'net/kdenetwork4')
-rw-r--r--net/kdenetwork4/Makefile10
-rw-r--r--net/kdenetwork4/pkg-plist22
2 files changed, 21 insertions, 11 deletions
diff --git a/net/kdenetwork4/Makefile b/net/kdenetwork4/Makefile
index 0b00425a1816..8c8f38225ea3 100644
--- a/net/kdenetwork4/Makefile
+++ b/net/kdenetwork4/Makefile
@@ -32,4 +32,14 @@ CONFIGURE_ARGS+=--disable-debug
USE_GMAKE= yes
MAKE_ENV= ${CONFIGURE_ENV}
+UTMP=/var/run/utmp
+.if exists(${UTMP})
+PLIST_SUB+= KTALKD=""
+.else
+PLIST_SUB+= KTALKD="@comment "
+pre-configure:
+ @${ECHO_MSG} '===> NOTE: The file ${UTMP} was not found.'
+ @${ECHO_MSG} '===> NOTE: ktalkd, which requires ${UTMP}, will not be built.'
+.endif
+
.include <bsd.port.mk>
diff --git a/net/kdenetwork4/pkg-plist b/net/kdenetwork4/pkg-plist
index f263d4782a16..bce43398e9d3 100644
--- a/net/kdenetwork4/pkg-plist
+++ b/net/kdenetwork4/pkg-plist
@@ -10,11 +10,11 @@ bin/kotalkd
bin/kppp
bin/kppplogview
bin/ksirc
-bin/ktalkd
-bin/ktalkdlg
+%%KTALKD%%bin/ktalkd
+%%KTALKD%%bin/ktalkdlg
bin/kxmlrpcd
bin/lisa
-bin/mail.local
+%%KTALKD%%bin/mail.local
bin/reslisa
include/kmailIface.h
include/mimelib/address.h
@@ -62,8 +62,8 @@ lib/kde3/kpfpropertiesdialogplugin.la
lib/kde3/kpfpropertiesdialogplugin.so
lib/kde3/libkcm_kcmkxmlrpcd.la
lib/kde3/libkcm_kcmkxmlrpcd.so
-lib/kde3/libkcm_ktalkd.la
-lib/kde3/libkcm_ktalkd.so
+%%KTALKD%%lib/kde3/libkcm_ktalkd.la
+%%KTALKD%%lib/kde3/libkcm_ktalkd.so
lib/kde3/libkcm_lanbrowser.la
lib/kde3/libkcm_lanbrowser.so
lib/kde3/libkcm_newsticker.la
@@ -93,7 +93,7 @@ share/applnk/Internet/kit.desktop
share/applnk/Internet/knewsticker-standalone.desktop
share/applnk/Internet/kppplogview.desktop
share/applnk/Internet/ksirc.desktop
-share/applnk/Settings/Network/kcmktalkd.desktop
+%%KTALKD%%share/applnk/Settings/Network/kcmktalkd.desktop
share/applnk/Settings/Network/kcmnewsticker.desktop
share/applnk/Settings/Network/lanbrowser.desktop
share/applnk/Settings/Personalization/kcmnewsticker.desktop
@@ -652,7 +652,7 @@ share/apps/ksirc/servers.txt
share/apps/ksirc/sirc.help.gz
share/apps/lisa/README
share/config/ksircrc
-share/config/ktalkdrc
+%%KTALKD%%share/config/ktalkdrc
share/doc/HTML/en/kdict/applet.png
share/doc/HTML/en/kdict/common
share/doc/HTML/en/kdict/conf.png
@@ -775,7 +775,7 @@ share/icons/hicolor/16x16/apps/korn.png
share/icons/hicolor/16x16/apps/kpf.png
share/icons/hicolor/16x16/apps/kppp.png
share/icons/hicolor/16x16/apps/ksirc.png
-share/icons/hicolor/16x16/apps/ktalkd.png
+%%KTALKD%%share/icons/hicolor/16x16/apps/ktalkd.png
share/icons/hicolor/32x32/apps/kdict.png
share/icons/hicolor/32x32/apps/kit.png
share/icons/hicolor/32x32/apps/kmail.png
@@ -786,7 +786,7 @@ share/icons/hicolor/32x32/apps/korn.png
share/icons/hicolor/32x32/apps/kpf.png
share/icons/hicolor/32x32/apps/kppp.png
share/icons/hicolor/32x32/apps/ksirc.png
-share/icons/hicolor/32x32/apps/ktalkd.png
+%%KTALKD%%share/icons/hicolor/32x32/apps/ktalkd.png
share/icons/hicolor/48x48/apps/kdict.png
share/icons/hicolor/48x48/apps/kit.png
share/icons/hicolor/48x48/apps/kmail.png
@@ -797,7 +797,7 @@ share/icons/hicolor/48x48/apps/korn.png
share/icons/hicolor/48x48/apps/kpf.png
share/icons/hicolor/48x48/apps/kppp.png
share/icons/hicolor/48x48/apps/ksirc.png
-share/icons/hicolor/48x48/apps/ktalkd.png
+%%KTALKD%%share/icons/hicolor/48x48/apps/ktalkd.png
share/icons/locolor/16x16/apps/ksirc.png
share/icons/locolor/32x32/apps/ksirc.png
share/services/knewsservice.protocol
@@ -806,7 +806,7 @@ share/services/kpfpropertiesdialogplugin.desktop
share/services/kxmlrpcd.desktop
share/services/lan.protocol
share/services/rlan.protocol
-share/sounds/ktalkd.wav
+%%KTALKD%%share/sounds/ktalkd.wav
@comment dirs
@dirrm share/doc/HTML/en/lisa
@dirrm share/doc/HTML/en/ktalkd