aboutsummaryrefslogtreecommitdiff
path: root/lib/bind
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2004-09-23 07:52:51 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2004-09-23 07:52:51 +0000
commitb67acf67b2cb6cacea992e66daa55633eec36c33 (patch)
treecb5287af481e2da8f8f95f8bd894582caa8cbbc1 /lib/bind
parentfcb61d9f9501990edce2460d07409d502bbfbf0a (diff)
Notes
Diffstat (limited to 'lib/bind')
-rw-r--r--lib/bind/config.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/bind/config.mk b/lib/bind/config.mk
index 1ca8a27e0ca30..23ba65e7a2b52 100644
--- a/lib/bind/config.mk
+++ b/lib/bind/config.mk
@@ -1,7 +1,11 @@
# $FreeBSD$
# BIND version number
-CFLAGS+= -DVERSION='"9.3.0"'
+.if defined(BIND_DIR) && exists(${BIND_DIR}/version)
+.include "${BIND_DIR}/version"
+BIND_VERSION= ${MAJORVER}.${MINORVER}.${PATCHVER}${RELEASETYPE}${RELEASEVER}
+CFLAGS+= -DVERSION='"${BIND_VERSION}"'
+.endif
CFLAGS+= -DHAVE_CONFIG_H