From nobody Mon Jul 24 12:52:58 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4R8g7G4yGdz4nnxM; Mon, 24 Jul 2023 12:52:58 +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 4R8g7G44y7z3pLR; Mon, 24 Jul 2023 12:52:58 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690203178; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=COAXNp+53dcnr5M5Yjnl86AXbx7dAiUpL4JcO00BI2s=; b=BdC0rhagf6aMm7/bzXp/wUYuakHfDD2qKn0wt+zFziBhxViUdh6WYQXghavCb8HhGnZkpc /5dXVs52CVqMyTiVKm5ic5aCnl8eiK6E9vYLYM4pbKOMBOKCIFwQP7mDbZs1RifM/1FGDY JzlspOD44cb7GqvtVRyYiTdKkwi4ViNUurDkevvTG3uejNfn3epClVHpiM9Z2pBZY0HL9d yJxqSy1pcMSdVwufPfRnAYPnRlTWKH6LWvUesO29kZxt9qYb5RGAnhGXg8zWYERB5U21DE 8ArTTvxOnjWxRdAemRdY96VaEojSzIFc570pDA0mJF9cTBZOzaYxRr4xI26ArA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690203178; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=COAXNp+53dcnr5M5Yjnl86AXbx7dAiUpL4JcO00BI2s=; b=BobO04/DVlfuvsnpfbbMLbwYpT9JhdRx/isdbBK11wn5HQDhPmVNnFShov2PPGlPF3980Z tQF2acTbCuim3+PNuzSY5+r5jTLXEndk1rjctVSTn4YFc0swde8Z1/fuQelPDeVEzWH34R pc1fkxX7kBHUboO7zgr/CAHk69PdEz3F7cNXoqUaEdOe3lgr1va1gByDmxVoRlop+qduyy Xw4l+QHBtPaIECvuy+FY4jtFewG/FFacprnAN/h8dBV1mLeV/29Jb3GkWjXZa/wBsZOoKo Szksfs6mOb/BRDfrnf3qmaYzeXThQ+UzqkWANypHaKFqSZrWHYS2TZZvbWgqGg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690203178; a=rsa-sha256; cv=none; b=vUr12LpDhUxLadfCEx3lPNMgR6QOSR76FfAIzEZq4sRH5U+wd1hpRnTBK0QpxCWvUc0+du drWtMhDnmWMYcv4bpFMuURsdvhUAu4hyduZOWVQH1JA+FZdqj5/ZMFbaI3xIgQgKGRyU3K tbBj4lAZjB0e9H1AFmSgIWm9+F2wCTUkuqu1szFqOwESIFpuu7XOwYygUmsDLL745weBNb 9m0eaue4C65OPbQJGpCpjICGJcbAPXEDVv7m2wE9uTXzLXvj3skNOQkb3kro+vaxC+OMH1 G1qu4J2U/MN8ChgXLCPQ1HC8i22MabYk8XNa4BGAV6V+1Mp86C3CaHwKzxEQ+A== 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 4R8g7G2xj0zJgM; Mon, 24 Jul 2023 12:52:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 36OCqwYB097114; Mon, 24 Jul 2023 12:52:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36OCqwO5097113; Mon, 24 Jul 2023 12:52:58 GMT (envelope-from git) Date: Mon, 24 Jul 2023 12:52:58 GMT Message-Id: <202307241252.36OCqwO5097113@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: 79658c05042c - main - math/singular: Fix build with llvm16 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 79658c05042ccc12d8c6f31df47e3f36f2c08286 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=79658c05042ccc12d8c6f31df47e3f36f2c08286 commit 79658c05042ccc12d8c6f31df47e3f36f2c08286 Author: Muhammad Moinur Rahman AuthorDate: 2023-07-24 12:52:06 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-07-24 12:52:38 +0000 math/singular: Fix build with llvm16 - Pet portclippy Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- math/singular/Makefile | 35 +++++++++++++++++------------------ 1 file changed, 17 insertions(+), 18 deletions(-) diff --git a/math/singular/Makefile b/math/singular/Makefile index e632406a29c7..07eef24319bc 100644 --- a/math/singular/Makefile +++ b/math/singular/Makefile @@ -18,47 +18,46 @@ LIB_DEPENDS= libgmp.so:math/gmp \ RUN_DEPENDS= bash:shells/bash USES= autoreconf gmake libtool ncurses perl5 pkgconfig readline shebangfix -USE_PERL5= build -USE_LDCONFIG= yes - +USE_CXXSTD= c++14 USE_GITHUB= yes GH_ACCOUNT= Singular GH_PROJECT= Singular - -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-gmp=${LOCALBASE} --enable-Singular --enable-factory \ - --with-libparse --disable-dependency-tracking --without-python +USE_LDCONFIG= yes +USE_PERL5= build SHEBANG_FILES= Singular/surfex \ libpolys/libpolys-config.in \ libsingular-config.in +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-gmp=${LOCALBASE} --enable-Singular --enable-factory \ + --with-libparse --disable-dependency-tracking --without-python + TEST_TARGET= check +PORTDOCS= * + OPTIONS_DEFINE= DOCS FLINT GFAN NTL OPTIONS_DEFAULT= DOCS FLINT GFAN NTL OPTIONS_SUB= yes +FLINT_DESC= Use FLINT library +GFAN_DESC= Build gfanlib library (bundled) +NTL_DESC= Use NTL library + DOCS_MASTER_SITES= ftp://jim.mathematik.uni-kl.de/pub/Math/Singular/SOURCES/${PORTVERSION:C/\./-/g}/:doc DOCS_DISTFILES= doc.tbz2:doc DOCS_INFO= ${PORTNAME} -PORTDOCS= * - -FLINT_DESC= Use FLINT library +FLINT_LIB_DEPENDS= libflint.so:math/flint2 FLINT_CONFIGURE_ON= --with-flint=${LOCALBASE} FLINT_CONFIGURE_OFF= --with-flint=no -FLINT_LIB_DEPENDS= libflint.so:math/flint2 - -GFAN_DESC= Build gfanlib library (bundled) -GFAN_CONFIGURE_ENABLE= gfanlib GFAN_BUILD_DEPENDS= gfan_tropicalbasis:math/gfan - -NTL_DESC= Use NTL library +GFAN_CONFIGURE_ENABLE= gfanlib +NTL_LIB_DEPENDS= libntl.so:math/ntl \ + libcddgmp.so:math/cddlib NTL_USES= compiler:c11 NTL_CONFIGURE_ON= --with-ntl=${LOCALBASE} NTL_CONFIGURE_OFF= --with-ntl=no -NTL_LIB_DEPENDS= libntl.so:math/ntl \ - libcddgmp.so:math/cddlib # not a shebang but "/bin/bash" is hardcoded in some files post-patch: