svn commit: r404791 - head/dns/bind9-devel
Mathieu Arnold
mat at FreeBSD.org
Wed Dec 30 00:20:36 UTC 2015
Author: mat
Date: Wed Dec 30 00:20:35 2015
New Revision: 404791
URL: https://svnweb.freebsd.org/changeset/ports/404791
Log:
Add the commit hash to the version.
Sponsored by: Absolight
Modified:
head/dns/bind9-devel/Makefile
Modified: head/dns/bind9-devel/Makefile
==============================================================================
--- head/dns/bind9-devel/Makefile Wed Dec 30 00:00:44 2015 (r404790)
+++ head/dns/bind9-devel/Makefile Wed Dec 30 00:20:35 2015 (r404791)
@@ -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
More information about the svn-ports-all
mailing list