diff options
author | Tobias Kortkamp <tobik@FreeBSD.org> | 2021-04-22 08:03:45 +0000 |
---|---|---|
committer | Tobias Kortkamp <tobik@FreeBSD.org> | 2021-04-24 06:46:08 +0000 |
commit | 7069bc1a13af0d6e8dae4308602afd4b8fb40749 (patch) | |
tree | 17708494bfadf67b4f884c04f3dfeb7d9d21f008 | |
parent | b30137535740946ba93e5bb1676f18d4bd9d5b3a (diff) |
net-mgmt/pmacct: Unbreak build with --enable-option-checking=fatal
===> Configuring for pmacct-1.7.5
configure: error: unrecognized options: --disable-, --enable-64bit
There is no --enable-64bit option anymore. The --disable- is caused
by the extra = after KAFKA_CONFIGURE_ENABLE= because the framework
splits *_CONFIGURE_ENABLE on =. Arguably it should raise an error
here instead of appending nonsense like --disable-. This took
forever to find. :-(
PR: 255291
-rw-r--r-- | net-mgmt/pmacct/Makefile | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/net-mgmt/pmacct/Makefile b/net-mgmt/pmacct/Makefile index 86d16a232ce7..30979fe4716c 100644 --- a/net-mgmt/pmacct/Makefile +++ b/net-mgmt/pmacct/Makefile @@ -55,7 +55,7 @@ REDIS_VARS= LIB_DEPENDS+=libhiredis.so:databases/hiredis REDIS_CONFIGURE_ENABLE= redis KAFKA_VARS= LIB_DEPENDS+=librdkafka.so:net/librdkafka -KAFKA_CONFIGURE_ENABLE== kafka +KAFKA_CONFIGURE_ENABLE= kafka AVRO_VARS= LIB_DEPENDS+=libavro.so:devel/avro-c AVRO_CONFIGURE_ENABLE= avro @@ -72,12 +72,6 @@ LIB_DEPENDS+= libjansson.so:devel/jansson CONFIGURE_ARGS+=--enable-jansson .endif -.include <bsd.port.pre.mk> - -.if ${ARCH} == "amd64" || ${ARCH} == "sparc64" -CONFIGURE_ARGS+=--enable-64bit -.endif - post-patch: @${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/configure @@ -91,4 +85,4 @@ post-install: .endfor ${MKDIR} ${STAGEDIR}${DATADIR} -.include <bsd.port.post.mk> +.include <bsd.port.mk> |