Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Dec 2015 00:20:35 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r404791 - head/dns/bind9-devel
Message-ID:  <201512300020.tBU0KZrv041831@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512300020.tBU0KZrv041831>