summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2020-07-10 09:37:23 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2020-07-10 09:37:23 +0000
commitde7897cceaf629c32baa98bd20fac44980415493 (patch)
tree70c94c95e4f64a5b9b79115b088a1b34ca37527e
parentbf4265f30c4843f64ef45909e07233aa69e81e5a (diff)
downloadfreebsd-ports-de7897cceaf629c32baa98bd20fac44980415493.zip
Unbreak the build with FILTER_AAAA option.
PR: 246648
-rw-r--r--dns/unbound/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/dns/unbound/Makefile b/dns/unbound/Makefile
index 1827bc57286b..fb1bc1324b1c 100644
--- a/dns/unbound/Makefile
+++ b/dns/unbound/Makefile
@@ -89,7 +89,9 @@ post-patch:
${WRKSRC}/Makefile.in
post-patch-FILTER_AAAA-on:
- ${CAT} ${WRKSRC}/contrib/aaaa-filter-iterator.patch | ${PATCH} -d ${WRKSRC} -p1 -s
+ ${SED} 's/INIT_REQUEST_STATE, FINISHED_STATE, &subq, 1/&, 0/' \
+ ${WRKSRC}/contrib/aaaa-filter-iterator.patch | \
+ ${PATCH} -d ${WRKSRC} -p1 -s
post-build:
@for s in ${STRIP_FILES}; do ${STRIP_CMD} ${WRKSRC}/$$s; done