From nobody Wed Dec 21 07:14:04 2022 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 4NcPnT2YNqz1HD9m; Wed, 21 Dec 2022 07:14:05 +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 4NcPnT0TC3z4ZlH; Wed, 21 Dec 2022 07:14:05 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671606845; 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=Hsl09Q06kEbWV0WJG0wdyJF/XfaLO17l544uP0+ytwU=; b=mn62hPDalEqxaG44okU9xPPRM+jTI7PBUTw8Da38Mpzk7QcVHx0Ytqp7ClkHsSmUY/ccXH B1xkp9HSy2/cHkwxLR2Fl/bIWEDPJenCMjbOXvAf+tW8nbw8642e6czpnvosY87Nirhojg YcJ1th2DqfnkL50XH4OJhcx52Yfo6SU+M20pLskpOg2ERb+Nw1tGzsUDyijhEkR/nTU8Od xTSMHxXN/LKO0BGq/G/DIrE4r/zjIFlNFdkFnDv9q5voksrF/a/5jUpTRoNdCJf3IKGi6f vBeoJKKnzLfWTWF5boKEpc/G8exIzM/pePNfVGdZTXDYKqJJ9kFfmLne3Dm49A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671606845; 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=Hsl09Q06kEbWV0WJG0wdyJF/XfaLO17l544uP0+ytwU=; b=HY25Y1Jvj8r+mVZ38FG3l7RgkLo7SjMUK2KUunu0A4H/3bbqfZ5AJFyzcv3gopbwgh8hwl uf9FIX+sES4M67GsRxZhWcU6nAGb9y18c5Z7TNlM0Ic9iSqRerwbSRemUA4A7+S2t8xebR bJF6TCmr0kSXGxfZemQzKAhZbwSuPUQn2livQGfUHcwHgqGySmGF9AJAUunjd3Dgbe20aY 3TvDR+b+Ia6Myq4kA8f5ZfQdhPeH1+nEssXBrll//LyJAiHLh+hirlJJZMyCgPY4Z3uc4K n5EJhzWiyRR08xSLcnp8bRNGr4e0lqNFXIh/By33Bo3WoqFPI6ZB8NydJe0nYg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1671606845; a=rsa-sha256; cv=none; b=Ct1vog/7bcwmIctDriAVtNlxoB9aNykhCJs4Ci0PlGQb8A6cmx2QQBT1mdehoF3lJkPsLE OJ3fFhMJr1Atstlrd5YAT6tqa03IUcaDtqowUwvX1hZ5+HVmJ0SSLoGPJUmARNQ6nwpChl IJSjKKU2rtaMnBj8sW6hd/3OAOjxifrv289NkJAkcQgfw5RvzLj8SArDbQ8DfJRTI1AAu3 /8MCRFhNQEjvyKZV9/WdTe2jqiO23AHgz/lsujblxqE15nKXurm3z/urz9nUWF+f7izjSC QrtLO3Tld45A9CYrdLc9EddsN4KsQnFlHtsjU933M6IA7odWm2/gIgsdfpBaQw== 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 4NcPnS6dnfz15lT; Wed, 21 Dec 2022 07:14:04 +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 2BL7E4b1094352; Wed, 21 Dec 2022 07:14:04 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2BL7E4pL094351; Wed, 21 Dec 2022 07:14:04 GMT (envelope-from git) Date: Wed, 21 Dec 2022 07:14:04 GMT Message-Id: <202212210714.2BL7E4pL094351@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 931a26db83fb - main - */*: Limit BROKEN statement for missing ieee_arithmetic.mod feature on powerpc64* 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: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 931a26db83fb0846d7d940f8412f6376e468edc9 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=931a26db83fb0846d7d940f8412f6376e468edc9 commit 931a26db83fb0846d7d940f8412f6376e468edc9 Author: Yuri Victorovich AuthorDate: 2022-12-20 23:59:46 +0000 Commit: Yuri Victorovich CommitDate: 2022-12-21 07:13:58 +0000 */*: Limit BROKEN statement for missing ieee_arithmetic.mod feature on powerpc64* ... to only systems where it isn't yet enabled. Reported by: pkubaj@ --- science/dftd4/Makefile | 8 ++++++-- science/dynare/Makefile | 7 ++++++- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/science/dftd4/Makefile b/science/dftd4/Makefile index dd8a457c17ca..b2679f1da76b 100644 --- a/science/dftd4/Makefile +++ b/science/dftd4/Makefile @@ -11,8 +11,6 @@ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_aarch64= Cannot open module file 'ieee_arithmetic.mod' for reading at (1): No such file or directory -BROKEN_powerpc64= Cannot open module file 'ieee_arithmetic.mod' for reading at (1): No such file or directory -BROKEN_powerpc64le= Cannot open module file 'ieee_arithmetic.mod' for reading at (1): No such file or directory BUILD_DEPENDS= mstore>0:science/mstore LIB_DEPENDS= libmctc-lib.so:science/mctc-lib \ @@ -25,6 +23,12 @@ USE_LDCONFIG= yes CMAKE_ON= BUILD_SHARED_LIBS +.include +.if (${ARCH} == powerpc64le || ${ARCH} == powerpc64 || ${ARCH} == powerpc) && ${OSVERSION} < 1301510 # support added in e09d209d1a74a3caca95dea303db9bc605fce1a7 +BROKEN_powerpc64= Cannot open module file 'ieee_arithmetic.mod' for reading at (1): No such file or directory +BROKEN_powerpc64le= Cannot open module file 'ieee_arithmetic.mod' for reading at (1): No such file or directory +.endif + post-patch: # see https://github.com/toml-f/toml-f/issues/51 @${REINPLACE_CMD} -e 's|$${CMAKE_Fortran_COMPILER_ID}-$${CMAKE_Fortran_COMPILER_VERSION}||' ${WRKSRC}/config/CMakeLists.txt diff --git a/science/dynare/Makefile b/science/dynare/Makefile index 424811f230a4..2b73cb09e142 100644 --- a/science/dynare/Makefile +++ b/science/dynare/Makefile @@ -12,7 +12,6 @@ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_aarch64= cannot open module file 'ieee_arithmetic.mod' for reading at (1): No such file or directory -BROKEN_powerpc64= cannot open module file 'ieee_arithmetic.mod' for reading at (1): No such file or directory BUILD_DEPENDS= ${LOCALBASE}/include/boost/tokenizer.hpp:devel/boost-libs LIB_DEPENDS= libhdf5.so:science/hdf5 \ @@ -49,6 +48,12 @@ OCTAVE_LIB_DEPENDS= libfftw3.so:math/fftw3 \ libumfpack.so:math/suitesparse-umfpack OCTAVE_RUN_DEPENDS= octave:math/octave +.include +.if (${ARCH} == powerpc64le || ${ARCH} == powerpc64 || ${ARCH} == powerpc) && ${OSVERSION} < 1301510 # support added in e09d209d1a74a3caca95dea303db9bc605fce1a7 +BROKEN_powerpc64= Cannot open module file 'ieee_arithmetic.mod' for reading at (1): No such file or directory +BROKEN_powerpc64le= Cannot open module file 'ieee_arithmetic.mod' for reading at (1): No such file or directory +.endif + post-install: # remove empty directories, see https://git.dynare.org/Dynare/dynare/-/issues/1835 @${FIND} ${STAGEDIR}${PREFIX} -type d -empty -delete