1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00

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)
This commit is contained in:
Will Andrews 2002-05-16 00:01:34 +00:00
parent 7964dec3d2
commit 4a47174f45
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=59215
4 changed files with 6 additions and 6 deletions

View File

@ -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>

View File

@ -6,7 +6,7 @@ bin/kmailcvt
bin/knewstickerstub
bin/knode
bin/korn
bin/kotalkd
%%KTALKD%%bin/kotalkd
bin/kppp
bin/kppplogview
bin/ksirc

View File

@ -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>

View File

@ -6,7 +6,7 @@ bin/kmailcvt
bin/knewstickerstub
bin/knode
bin/korn
bin/kotalkd
%%KTALKD%%bin/kotalkd
bin/kppp
bin/kppplogview
bin/ksirc