Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Apr 2021 06:45:51 GMT
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 7069bc1a13af - main - net-mgmt/pmacct: Unbreak build with --enable-option-checking=fatal
Message-ID:  <202104240645.13O6jplb068714@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by tobik:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7069bc1a13af0d6e8dae4308602afd4b8fb40749

commit 7069bc1a13af0d6e8dae4308602afd4b8fb40749
Author:     Tobias Kortkamp <tobik@FreeBSD.org>
AuthorDate: 2021-04-22 08:03:45 +0000
Commit:     Tobias Kortkamp <tobik@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104240645.13O6jplb068714>