diff options
author | danfe <danfe@FreeBSD.org> | 2015-10-22 22:57:42 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2015-10-22 22:57:42 +0800 |
commit | 02e14c143a300fa70008dec12ada700f9234c452 (patch) | |
tree | 708027ae32593f142595204f06d5962285f546f4 /dns | |
parent | b4da658b0d87f99a72e6751b4e9085a2fc26911b (diff) | |
download | freebsd-ports-gnome-02e14c143a300fa70008dec12ada700f9234c452.tar.gz freebsd-ports-gnome-02e14c143a300fa70008dec12ada700f9234c452.tar.zst freebsd-ports-gnome-02e14c143a300fa70008dec12ada700f9234c452.zip |
Unbreak the build with (non-default) DNSTAP option set. The root cause
here is that `kdig_CPPFLAGS += $(DNSTAP_CFLAGS)' line is missing from the
`src/Makefile.am' file (and thus pre-generated `src/Makefile.in') which
should contain "$libfstrm_CFLAGS $libprotobuf_c_CFLAGS" set by configure
script.
As I'd rather avoid patching `src/Makefile.in' and don't want to request
regeneration thereof, provide DNSTAP_CPPFLAGS explicitly for the moment,
while ideally this bug should be fixed upstream. Add an accompanying XXX
comment about it.
PR: 203931 (partially)
Diffstat (limited to 'dns')
-rw-r--r-- | dns/knot2/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dns/knot2/Makefile b/dns/knot2/Makefile index fb8825a23f72..2b5425586076 100644 --- a/dns/knot2/Makefile +++ b/dns/knot2/Makefile @@ -50,6 +50,12 @@ OPTIONS_DEFINE= DNSTAP FASTPARSER IDN DNSTAP_DESC= dnstap support (see dnstap.info) DNSTAP_CONFIGURE_ENABLE= dnstap DNSTAP_LIB_DEPENDS= libprotobuf-c.so:${PORTSDIR}/devel/protobuf-c +# XXX: because `kdig_CPPFLAGS += $(DNSTAP_CFLAGS)' line is missing from +# `src/Makefile.am' file (and thus pre-generated `src/Makefile.in') which +# should contain "$libfstrm_CFLAGS $libprotobuf_c_CFLAGS" set by configure +# script, provide it here explicitly as patching those files would result +# in higher line count. Ideally this bug should be fixed upstream. +DNSTAP_CPPFLAGS= -I${LOCALBASE}/include FASTPARSER_DESC= Fast zone parser (demanding compilation) FASTPARSER_CONFIGURE_ENABLE= fastparser |