aboutsummaryrefslogtreecommitdiffstats
path: root/dns
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2016-12-21 23:38:27 +0800
committermat <mat@FreeBSD.org>2016-12-21 23:38:27 +0800
commit764224b787847c9bed04fd382d622fd268d20d35 (patch)
treed65c9aa448d3b8162ad9597df14c3c8a54ad046e /dns
parent0b1ac7660b09ac76ccdb4869ac5777300d25ad5a (diff)
downloadfreebsd-ports-gnome-764224b787847c9bed04fd382d622fd268d20d35.tar.gz
freebsd-ports-gnome-764224b787847c9bed04fd382d622fd268d20d35.tar.zst
freebsd-ports-gnome-764224b787847c9bed04fd382d622fd268d20d35.zip
Fix build with JOBS.
Sponsored by: Absolight
Diffstat (limited to 'dns')
-rw-r--r--dns/yadifa/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/dns/yadifa/Makefile b/dns/yadifa/Makefile
index 87ab8e72ae22..dc5d048204ec 100644
--- a/dns/yadifa/Makefile
+++ b/dns/yadifa/Makefile
@@ -44,6 +44,9 @@ post-configure:
${REINPLACE_CMD} -e 's|^docdir = .*|docdir = ${EXAMPLESDIR}|' ${WRKSRC}/etc/Makefile
${REINPLACE_CMD} -e 's|/usr/local/var|/var|' -e 's|/var/zones|/var/${PORTNAME}|' ${WRKSRC}/etc/yadifad.conf.example
+pre-build:
+ @cd ${WRKSRC} && ${MAKE_CMD} features
+
post-install:
${MV} ${STAGEDIR}${PREFIX}/etc/yadifad.conf \
${STAGEDIR}${PREFIX}/etc/yadifad.conf.sample