git: 7069bc1a13af - main - net-mgmt/pmacct: Unbreak build with --enable-option-checking=fatal
Tobias Kortkamp
tobik at FreeBSD.org
Sat Apr 24 06:45:51 UTC 2021
The branch main has been updated by tobik:
URL: https://cgit.FreeBSD.org/ports/commit/?id=7069bc1a13af0d6e8dae4308602afd4b8fb40749
commit 7069bc1a13af0d6e8dae4308602afd4b8fb40749
Author: Tobias Kortkamp <tobik at FreeBSD.org>
AuthorDate: 2021-04-22 08:03:45 +0000
Commit: Tobias Kortkamp <tobik at FreeBSD.org>
CommitDate: 2021-04-24 06:46:08 +0000
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
---
net-mgmt/pmacct/Makefile | 10 ++--------
1 file 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>
More information about the dev-commits-ports-all
mailing list