summaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorTobias Kortkamp <tobik@FreeBSD.org>2019-11-07 18:18:17 +0000
committerTobias Kortkamp <tobik@FreeBSD.org>2019-11-07 18:18:17 +0000
commit1d8ca425a76be2ee4a83db36dd1349b77b7162e0 (patch)
tree93aaae556b0dd4eca960862df76d9ac0cdda720f /dns
parentdevel/arduino-mk: Update MASTER_SITES and remove BROKEN (diff)
Replace do-patch in ports that override it with more appropriate targets
Most ports do not need to override do-patch. It breaks some ports tree features like EXTRA_PATCH_TREE, etc.
Notes
Notes: svn path=/head/; revision=516997
Diffstat (limited to 'dns')
-rw-r--r--dns/autotrust/Makefile2
-rw-r--r--dns/djbdns-tools/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/dns/autotrust/Makefile b/dns/autotrust/Makefile
index 8dd537192024..230539830c27 100644
--- a/dns/autotrust/Makefile
+++ b/dns/autotrust/Makefile
@@ -22,7 +22,7 @@ LDFLAGS+= -L${LOCALBASE}/lib -pthread
PLIST_FILES= sbin/autotrust man/man8/autotrust.8.gz \
etc/autotrust/autotrust.conf.sample
-do-patch:
+post-patch:
${REINPLACE_CMD} \
'45s!=!\?=!; \
46s!^\(CFLAGS \)\(= -I.\) @CFLAGS@!\1+\2!' \
diff --git a/dns/djbdns-tools/Makefile b/dns/djbdns-tools/Makefile
index 7fc8a3892513..cf9fe0bc9718 100644
--- a/dns/djbdns-tools/Makefile
+++ b/dns/djbdns-tools/Makefile
@@ -25,7 +25,7 @@ MANPAGES= dnsfilter.1 dnsip.1 dnsipq.1 dnsmx.1 dnsname.1 \
ALL_TARGET= it
-do-patch:
+do-configure:
@${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
@${ECHO_CMD} "${CC} ${STRIP}" > ${WRKSRC}/conf-ld
@${ECHO_CMD} "${PREFIX}" > ${WRKSRC}/conf-home