Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 May 2014 18:57:32 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r355897 - head/dns/djbdns
Message-ID:  <201405301857.s4UIvWX6019433@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Fri May 30 18:57:31 2014
New Revision: 355897
URL: http://svnweb.freebsd.org/changeset/ports/355897
QAT: https://qat.redports.org/buildarchive/r355897/

Log:
  - Fix dnscache-conf referring to STAGEDIR when IP6 option is selected.
    Something in the dependency chain for dnsip6 rebuilds when conf-home
    is updated. By creating it before the build and then moving it over
    later the timestamp is before all the built binaries. Since we
    purposely remove all installer-related files, only those will be
    rebuilt.
  
  Reported by:	brd

Modified:
  head/dns/djbdns/Makefile

Modified: head/dns/djbdns/Makefile
==============================================================================
--- head/dns/djbdns/Makefile	Fri May 30 18:56:56 2014	(r355896)
+++ head/dns/djbdns/Makefile	Fri May 30 18:57:31 2014	(r355897)
@@ -3,7 +3,7 @@
 
 PORTNAME?=	djbdns
 PORTVERSION?=	${DJBDNS_VER}
-PORTREVISION?=	19
+PORTREVISION?=	20
 PORTEPOCH?=	1
 CATEGORIES?=	dns
 MASTER_SITES=	http://cr.yp.to/djbdns/ \
@@ -129,12 +129,13 @@ PLIST_SUB+=	WITH_IP6="@comment "
 post-patch:
 	@${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
 	@${ECHO_CMD} "${CC} ${STRIP} ${LDFLAGS}" > ${WRKSRC}/conf-ld
+	@${ECHO_CMD} "${STAGEDIR}${PREFIX}" > ${WRKSRC}/conf-home.stage
 	@${ECHO_CMD} "${PREFIX}" > ${WRKSRC}/conf-home
 
 post-build:
 	@${ECHO_MSG} "===> Rebuilding DJB installer to respect STAGEDIR"
 	@${MV} -f ${WRKSRC}/conf-home ${WRKSRC}/conf-home.sav
-	@${ECHO_CMD} "${STAGEDIR}${PREFIX}" > ${WRKSRC}/conf-home
+	@${MV} -f ${WRKSRC}/conf-home.stage ${WRKSRC}/conf-home
 	@cd ${WRKSRC} ; ${RM} -f install instcheck install.o instcheck.o hier.o auto_home.o auto_home.c
 	@cd ${WRKSRC} ; ${DO_MAKE_BUILD} install instcheck
 	@${TOUCH} ${WRKSRC}/*-conf



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