Instead of hardcoding the BIND version, deduce it from ${BIND_DIR}/version.
This commit is contained in:
parent
fcb61d9f95
commit
b67acf67b2
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user