aboutsummaryrefslogtreecommitdiffstats
path: root/net/kdenetwork4/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/kdenetwork4/Makefile')
-rw-r--r--net/kdenetwork4/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/net/kdenetwork4/Makefile b/net/kdenetwork4/Makefile
index 433813f18c7..184482f7e3e 100644
--- a/net/kdenetwork4/Makefile
+++ b/net/kdenetwork4/Makefile
@@ -29,15 +29,19 @@ GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
LDCONFIG_DIRS+= %%PREFIX%%/lib %%PREFIX%%/lib/kde3
+.if !defined(WITHOUT_KTALKD)
UTMP?= /var/run/utmp
.if exists(${UTMP})
PLIST_APPEND+= plist.ktalkd
.else
DO_NOT_COMPILE+= ktalkd
pre-configure:
- @${ECHO_MSG} "===> Shit! \"${UTMP}\" was not found."
+ @${ECHO_MSG} "===> \"${UTMP}\" was not found."
@${ECHO_MSG} "===> The talk daemon (ktalkd) will not be built."
.endif # exists(${UTMP})
+.else
+DO_NOT_COMPILE+= ktalkd
+.endif # !defined(WITHOUT_KTALKD)
.if defined(DO_NOT_COMPILE)
CONFIGURE_ENV+= DO_NOT_COMPILE="${DO_NOT_COMPILE}"