diff options
author | mat <mat@FreeBSD.org> | 2015-12-30 08:20:35 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2015-12-30 08:20:35 +0800 |
commit | ae24e4c5581147e9db2efceaf8663fe294b73c40 (patch) | |
tree | 5c4c99b325033b7893654498835e9efe3379e030 /dns | |
parent | 4097d914b4b27f8921cd55e7451baedf66375c4c (diff) | |
download | freebsd-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/Makefile | 4 |
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 |