svn commit: r355897 - head/dns/djbdns

Bryan Drewery bdrewery at FreeBSD.org
Fri May 30 18:57:32 UTC 2014


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


More information about the svn-ports-all mailing list