aboutsummaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2014-05-30 18:57:31 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2014-05-30 18:57:31 +0000
commit770ed8295474c0366fad913a3cfde543533bf15d (patch)
tree1dee119d0a55493f5b9aab29cc6b8c69befe4296 /dns
parent69b8c62d4e3f5da095d459658a96fcf46f7f34ee (diff)
downloadports-770ed8295474c0366fad913a3cfde543533bf15d.tar.gz
ports-770ed8295474c0366fad913a3cfde543533bf15d.zip
Notes
Diffstat (limited to 'dns')
-rw-r--r--dns/djbdns/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/dns/djbdns/Makefile b/dns/djbdns/Makefile
index 9b0e982ebeec..53aeace92cc5 100644
--- a/dns/djbdns/Makefile
+++ b/dns/djbdns/Makefile
@@ -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