From nobody Wed Jul 26 09:40:29 2023 X-Original-To: dev-commits-ports-main@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 4R9pmV6YCWz4nrZr; Wed, 26 Jul 2023 09:40:36 +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 4R9pmG13mnz3Kvq; Wed, 26 Jul 2023 09:40:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690364430; 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=BFkyvgrISXYmLacpuAICjzokvFGwE7l1dzmvfOIMQJ8=; b=bdFdi5HEBNoRGkjknbdimuCLSHOt/2z72q6JOnQp7DZdAthr1ZjZp+zZyhVYUwwm9RLTfK 87DCTBJArDxNScpZwijRFxTmNmX4+rDtc3XE+hvMxaJX4reV/TNULUGNdyuGfQCys4UX1O VXaL0DcgYYG/NgEUXlW8g0Ls5N+BJ1YD4HzPSDE4yiQ1gcE/+ZHYCMOyKRzLbHc7pZP/IC Q/uZ5O3cgtMFfu+4vvP7umId/6UFHnsbiUTptCPvB4HNqDOa2HuicgeotfL/vyfOPydbe7 1UvqK5mdLThuhB5XWwxR3rOfQWzyGCG/7GDEwSwn75HnOVeDKT3ffF6Uzws8BQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690364430; 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=BFkyvgrISXYmLacpuAICjzokvFGwE7l1dzmvfOIMQJ8=; b=rKPgGnrLvsWGr8aA4N+EtNspX4Ssr6tXGk3niLkAMGwt0lAMGv81MRMpC2hFxI7YLm+jPT JDxyELLEWWEkHp77Mn0GxhkexDujcRpDrJApOCRMjA1+sDFHctoctmkygPGhVBRdKuXX0j EHDlwDQ2w1C6NrvOfeDZFq2s08nBsPpB1J+gk7noYWR47SWVGDxJL4TFgyKxds3FQTxozr ycnZj7XSTFXuXFvjB1sv6Gq/Dcjh2Ew36exPfSCq/S+JSMc5S+Qtx2a6UsaJ/C9s52pZVl zEkRXViLSOQS6Gt5CQrSGyFxHraqwNbjphUD74qbQPRJJ+hxsTHnT78OCJo/FQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690364430; a=rsa-sha256; cv=none; b=T5GsB3aJ0KxY0VY1X8j0Jw3ZpamUbiHatBuama4iFqwAXVjWYGRd6Wc3xoQwF8lNKrCxLw H8YJ2JONzD6Pc6QhnxviJ1qJRBa2V195CCtN2vnzecAbbgQkvUYkqSw+OGMQK3cyB1ir/D Vc5M8M2yoLfZB1LPwfqKsKWu6pZWCw/LOpA5rMYMgehXOif+YKx/uwCUIlJBnKStexBYxQ PiNapLoiiwY1wd9sh4swsgpuRZmklWQMu+vJzofWGRzc0kb8eO+mye4/vYmbNelJPo4DgM kjEIhMz9B2JEegprxEHenz5NZd0j8MitjmGZfLR09kU+SIdnbmbZjFnKkrx2zA== 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 4R9pmF6n2lzcYP; Wed, 26 Jul 2023 09:40:29 +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 36Q9eTEs050440; Wed, 26 Jul 2023 09:40:29 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36Q9eTFV050439; Wed, 26 Jul 2023 09:40:29 GMT (envelope-from git) Date: Wed, 26 Jul 2023 09:40:29 GMT Message-Id: <202307260940.36Q9eTFV050439@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: 70dac127ed05 - main - math/cocoalib: Fix build with llvm16 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@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: 70dac127ed051f5c004753baebfc9e9adda4acbd Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=70dac127ed051f5c004753baebfc9e9adda4acbd commit 70dac127ed051f5c004753baebfc9e9adda4acbd Author: Muhammad Moinur Rahman AuthorDate: 2023-07-26 09:38:47 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-07-26 09:40:13 +0000 math/cocoalib: Fix build with llvm16 - Utilize USES=localbase Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- math/cocoalib/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/math/cocoalib/Makefile b/math/cocoalib/Makefile index fc5e9a825187..53015ae266b7 100644 --- a/math/cocoalib/Makefile +++ b/math/cocoalib/Makefile @@ -16,7 +16,8 @@ LICENSE_FILE_GFDL= ${WRKSRC}/doc/COPYING BUILD_DEPENDS= bash:shells/bash LIB_DEPENDS= libgmp.so:math/gmp -USES= compiler:c++11-lang shebangfix tar:tgz +USES= compiler:c++11-lang localbase:ldflag shebangfix tar:tgz +USE_CXXSTD= c++14 USE_LDCONFIG= yes SHEBANG_GLOB= *.sh @@ -25,11 +26,10 @@ CXXFLAGS+= -I${WRKSRC}/include \ -I${WRKSRC}/src/AlgebraicCore/TmpFactorDir \ -I${WRKSRC}/src/AlgebraicCore/TmpFactorDir/multivariate \ -I${WRKSRC}/src/AlgebraicCore/TmpFactorDir/linalg \ - -I${LOCALBASE}/include \ -DCoCoA_ULONG2LONG=1 \ -DCoCoA_ULONGLONG2LONGLONG=1 \ -fPIC -LDFLAGS+= -L${LOCALBASE}/lib -L${BUILD_WRKSRC} -lcocoa -lgmp +LDFLAGS+= -L${BUILD_WRKSRC} -lcocoa -lgmp BUILD_WRKSRC= ${WRKSRC}/src/AlgebraicCore