2004-07-19 06:07:16 +02:00
|
|
|
# $NetBSD: builtin.mk,v 1.4 2004/07/19 04:07:16 markd Exp $
|
2004-07-18 00:28:43 +02:00
|
|
|
|
|
|
|
.if !defined(IS_BUILTIN.bind)
|
2004-07-19 06:07:16 +02:00
|
|
|
IS_BUILTIN.bind= no
|
2004-07-18 00:28:43 +02:00
|
|
|
. if exists(/usr/sbin/named)
|
2004-07-18 14:59:02 +02:00
|
|
|
_BIND_VERSION!=${ECHO} 'vers ' && /usr/sbin/named -v | ${SED} -n 's/^BIND //p'
|
2004-07-18 00:28:43 +02:00
|
|
|
. endif
|
2004-07-18 14:59:02 +02:00
|
|
|
. if defined(_BIND_VERSION) && !empty(_BIND_VERSION:Nvers)
|
2004-07-19 06:07:16 +02:00
|
|
|
IS_BUILTIN.bind= yes
|
|
|
|
BUILTIN_PKG.bind= bind-${_BIND_VERSION}
|
|
|
|
BUILDLINK_VARS+= BUILTIN_PKG.bind
|
2004-07-18 00:28:43 +02:00
|
|
|
. endif
|
|
|
|
.endif # IS_BUILTIN.bind
|
2004-07-19 06:07:16 +02:00
|
|
|
BUILDLINK_VARS+= IS_BUILTIN.bind
|
2004-07-18 00:28:43 +02:00
|
|
|
|
2004-07-19 06:07:16 +02:00
|
|
|
USE_BUILTIN.bind?= ${IS_BUILTIN.bind}
|