From owner-dev-commits-ports-all@freebsd.org Sat Apr 24 06:45:51 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C72525F3B64; Sat, 24 Apr 2021 06:45:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FS1rb55sBz4Znl; Sat, 24 Apr 2021 06:45:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A1A211C2C8; Sat, 24 Apr 2021 06:45:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 13O6jpLG068715; Sat, 24 Apr 2021 06:45:51 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 13O6jplb068714; Sat, 24 Apr 2021 06:45:51 GMT (envelope-from git) Date: Sat, 24 Apr 2021 06:45:51 GMT Message-Id: <202104240645.13O6jplb068714@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Tobias Kortkamp Subject: git: 7069bc1a13af - main - net-mgmt/pmacct: Unbreak build with --enable-option-checking=fatal MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: tobik X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7069bc1a13af0d6e8dae4308602afd4b8fb40749 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Apr 2021 06:45:51 -0000 The branch main has been updated by tobik: URL: https://cgit.FreeBSD.org/ports/commit/?id=7069bc1a13af0d6e8dae4308602afd4b8fb40749 commit 7069bc1a13af0d6e8dae4308602afd4b8fb40749 Author: Tobias Kortkamp AuthorDate: 2021-04-22 08:03:45 +0000 Commit: Tobias Kortkamp 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 - -.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 +.include