mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
- 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
This commit is contained in:
parent
69b8c62d4e
commit
770ed82954
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=355897
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user