aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2002-05-16 08:01:34 +0800
committerwill <will@FreeBSD.org>2002-05-16 08:01:34 +0800
commit547b476e7ac299ef8653a388c45c75f27b585186 (patch)
tree19f9ccbac74cd7dc16d6fbdd7c7cf26e02a55b86 /net
parentfd2be5f1d0dd79389530245a808447f9055b3617 (diff)
downloadfreebsd-ports-gnome-547b476e7ac299ef8653a388c45c75f27b585186.tar.gz
freebsd-ports-gnome-547b476e7ac299ef8653a388c45c75f27b585186.tar.zst
freebsd-ports-gnome-547b476e7ac299ef8653a388c45c75f27b585186.zip
Hide bin/kotalkd behind KTALKD PLIST_SUB moniker. Allow UTMP to be
overridable just in case it's necessary. Found by: bento (fwd by kris)
Diffstat (limited to 'net')
-rw-r--r--net/kdenetwork3/Makefile4
-rw-r--r--net/kdenetwork3/pkg-plist2
-rw-r--r--net/kdenetwork4/Makefile4
-rw-r--r--net/kdenetwork4/pkg-plist2
4 files changed, 6 insertions, 6 deletions
diff --git a/net/kdenetwork3/Makefile b/net/kdenetwork3/Makefile
index 8c8f38225ea3..383e50438e12 100644
--- a/net/kdenetwork3/Makefile
+++ b/net/kdenetwork3/Makefile
@@ -32,14 +32,14 @@ CONFIGURE_ARGS+=--disable-debug
USE_GMAKE= yes
MAKE_ENV= ${CONFIGURE_ENV}
-UTMP=/var/run/utmp
+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.'
+ @${ECHO_MSG} '===> NOTE: ktalkd and kotalkd, which require ${UTMP}, will not be built.'
.endif
.include <bsd.port.mk>
diff --git a/net/kdenetwork3/pkg-plist b/net/kdenetwork3/pkg-plist
index bce43398e9d3..1c3cd4496801 100644
--- a/net/kdenetwork3/pkg-plist
+++ b/net/kdenetwork3/pkg-plist
@@ -6,7 +6,7 @@ bin/kmailcvt
bin/knewstickerstub
bin/knode
bin/korn
-bin/kotalkd
+%%KTALKD%%bin/kotalkd
bin/kppp
bin/kppplogview
bin/ksirc
diff --git a/net/kdenetwork4/Makefile b/net/kdenetwork4/Makefile
index 8c8f38225ea3..383e50438e12 100644
--- a/net/kdenetwork4/Makefile
+++ b/net/kdenetwork4/Makefile
@@ -32,14 +32,14 @@ CONFIGURE_ARGS+=--disable-debug
USE_GMAKE= yes
MAKE_ENV= ${CONFIGURE_ENV}
-UTMP=/var/run/utmp
+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.'
+ @${ECHO_MSG} '===> NOTE: ktalkd and kotalkd, which require ${UTMP}, will not be built.'
.endif
.include <bsd.port.mk>
diff --git a/net/kdenetwork4/pkg-plist b/net/kdenetwork4/pkg-plist
index bce43398e9d3..1c3cd4496801 100644
--- a/net/kdenetwork4/pkg-plist
+++ b/net/kdenetwork4/pkg-plist
@@ -6,7 +6,7 @@ bin/kmailcvt
bin/knewstickerstub
bin/knode
bin/korn
-bin/kotalkd
+%%KTALKD%%bin/kotalkd
bin/kppp
bin/kppplogview
bin/ksirc