aboutsummaryrefslogtreecommitdiffstats
path: root/dns
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2015-12-30 08:20:35 +0800
committermat <mat@FreeBSD.org>2015-12-30 08:20:35 +0800
commitae24e4c5581147e9db2efceaf8663fe294b73c40 (patch)
tree5c4c99b325033b7893654498835e9efe3379e030 /dns
parent4097d914b4b27f8921cd55e7451baedf66375c4c (diff)
downloadfreebsd-ports-gnome-ae24e4c5581147e9db2efceaf8663fe294b73c40.tar.gz
freebsd-ports-gnome-ae24e4c5581147e9db2efceaf8663fe294b73c40.tar.zst
freebsd-ports-gnome-ae24e4c5581147e9db2efceaf8663fe294b73c40.zip
Add the commit hash to the version.
Sponsored by: Absolight
Diffstat (limited to 'dns')
-rw-r--r--dns/bind9-devel/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/dns/bind9-devel/Makefile b/dns/bind9-devel/Makefile
index b85244a273c9..3db689a22dc2 100644
--- a/dns/bind9-devel/Makefile
+++ b/dns/bind9-devel/Makefile
@@ -3,7 +3,7 @@
PORTNAME= bind
PORTVERSION= ${ISCVERSION:S/-P/P/}
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= dns net ipv6
MASTER_SITES= LOCAL/mat/bind
#MASTER_SITES= https://source.isc.org/cgi-bin/gitweb.cgi?p=bind9.git;a=snapshot;h=${HASH};sf=tgz;f=
@@ -215,6 +215,8 @@ post-extract:
echo "SRCID=${HASH}" > ${WRKSRC}/srcid
post-patch:
+ @${REINPLACE_CMD} -e '/RELEASETYPE=/s#$$#-${HASH}#' \
+ ${WRKSRC}/version
@${REINPLACE_CMD} -e 's|readline/readline.h|editline/readline.h|; \
s|readline/history.h|histedit.h|' \
${WRKSRC}/bin/dig/nslookup.c ${WRKSRC}/bin/nsupdate/nsupdate.c