From nobody Tue Jan 16 07:18:34 2024 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 4TDgNB6dsmz570Q9; Tue, 16 Jan 2024 07:18:34 +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 4TDgNB67Qlz4Ccn; Tue, 16 Jan 2024 07:18:34 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705389514; 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=YKXg/o/5SwABuzO7IE4C6edodf05salaLFb2Fze0Mck=; b=aadSmIERjYeastI9q4xu/hRJucoyEPFJ6YzjOGV5IiLUZlpN63mdI0B5r7h7HY5gMjgfk9 6E4+UVE1yZqQcoJGKnon9ecP+NDPlb9T1cWxJENpuxPrJEDqcClFzEe1ijI4xlNvB04bAn a82au4NDQvuF/p9hjUNQbwXtk9ViCimmkPPSTnuT4X65w3lH6IUgLrDZZiGkADuqVA/Iqd GToThpsIfK+3Z1g0TvmMkT8C4VfOHVCgmBPmdJUiKYBsC/QcQIh4ZscB3TKfsqDg4xDkfr 4bAejlzA9rCysbTj7ocSpuNtuX92f0OmsvIWHVYqvJ33bi46ZevzM0V+XxkDIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705389514; 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=YKXg/o/5SwABuzO7IE4C6edodf05salaLFb2Fze0Mck=; b=msKkgVvFazQB3ioVq9yNdfX7RHEXUlJ4ehzduKB0qznwME3CyjPOJAEawF25r8A1i57AvI CPOq0rYNvG8CttrPP3bB3S2j1edQGZL2HK/FpCrq8pzr+x47Q4kthi3D7Vo2LkVLGwt6/O LpNT7/wIeKUoyzALQ+ccA5yrTjyHuJZwZYasbfNapLC5WHZUh6tm39tA6qaXZ1ZceUzjPR sN/TJ88gfQ+wZiWY+SfH+Oyfua1n4578gYRYd0pGqkN924GmkWDdxOBMVhi4CpA6OEQQif VMFNFVxpBkzUI85J62K10MNkPYjwuaYX42N8b88ngcKQImFEV3i85AFN5rSrLw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1705389514; a=rsa-sha256; cv=none; b=reTHTHbeqvp+f9J5WoJ4rkUliPhojVgysSQVl6xXDrp/fuU7C2MQVQ35NLm9zhyyygNMoq W/lF1RjgvTuMqaxRd9O/7ajonHspxahsO1RLfvgqdxcl54e5YF6cqIYpCf5FNDq5bWyqxC y+Eidt/FVf/4VoYxxDD0rYIv0Rps99s/srTY7/kMCvVwqppdvEN4ozTzZFTQ95eTPPj1GT yEJZaZOmMAksa6cScJxAjPFfZeMRKVg/y5QDNWYE3rwOa91mFuCEHkYt6e1D9N3rpd9jdB +jyqzfBsoNpd4wr8PNc/gIs+WI8V1xKg+9SPRzkmn4WarUUjvgV7Cc2AvkbneA== 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 4TDgNB4nhpzWvr; Tue, 16 Jan 2024 07:18:34 +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 40G7IYPJ012528; Tue, 16 Jan 2024 07:18:34 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 40G7IY5m012525; Tue, 16 Jan 2024 07:18:34 GMT (envelope-from git) Date: Tue, 16 Jan 2024 07:18:34 GMT Message-Id: <202401160718.40G7IY5m012525@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Vladimir Druzenko Subject: git: c2c83f08f793 - 2024Q1 - math/apache-commons-math: build empty jar file (without classes) and doesn't build with jdk 11+ 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: vvd X-Git-Repository: ports X-Git-Refname: refs/heads/2024Q1 X-Git-Reftype: branch X-Git-Commit: c2c83f08f79365059b73bbbefcc6375c2ab400bc Auto-Submitted: auto-generated The branch 2024Q1 has been updated by vvd: URL: https://cgit.FreeBSD.org/ports/commit/?id=c2c83f08f79365059b73bbbefcc6375c2ab400bc commit c2c83f08f79365059b73bbbefcc6375c2ab400bc Author: Vladimir Druzenko AuthorDate: 2024-01-16 07:06:04 +0000 Commit: Vladimir Druzenko CommitDate: 2024-01-16 07:17:52 +0000 math/apache-commons-math: build empty jar file (without classes) and doesn't build with jdk 11+ 1. Without target "compile" commons-math.jar was ~8KB only and without classes - whit patch it's ~2MB. 2. Doesn't build with OpenJDK 11+: "compile.source" and "compile.target" 1.5 deprecated and was removed in newer OpenJDKs. Approved by: bofh (maintainer), arrowd (mentor) Differential Revision: https://reviews.freebsd.org/D43462 MFH: 2024Q1 (cherry picked from commit 11fc1e476c9d02bff164f4f37f7ba24ca6d7d87c) --- math/apache-commons-math/Makefile | 4 ++-- math/apache-commons-math/files/patch-build.xml | 11 +++++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/math/apache-commons-math/Makefile b/math/apache-commons-math/Makefile index 59e38cc39ec5..2939cf7ac7dc 100644 --- a/math/apache-commons-math/Makefile +++ b/math/apache-commons-math/Makefile @@ -1,6 +1,6 @@ PORTNAME= commons-math PORTVERSION= 3.6.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= math java MASTER_SITES= APACHE_COMMONS_SOURCE \ https://repo1.maven.org/maven2/junit/junit/4.8.2/:source2 @@ -23,7 +23,7 @@ USE_ANT= yes USE_JAVA= yes USE_LOCALE= en_US.ISO8859-1 -ALL_TARGET= jar +ALL_TARGET= compile jar MAKE_ARGS= -Dlibdir=${WRKDIR} -Dnoget=true JARFILE= ${PORTNAME:S,3,,}-3.6.jar diff --git a/math/apache-commons-math/files/patch-build.xml b/math/apache-commons-math/files/patch-build.xml index 256c8c63f281..57ce05cc8e36 100644 --- a/math/apache-commons-math/files/patch-build.xml +++ b/math/apache-commons-math/files/patch-build.xml @@ -1,5 +1,16 @@ --- build.xml.orig 2016-03-17 12:14:52 UTC +++ build.xml +@@ -100,8 +100,8 @@ + + + +- +- ++ ++ + + + @@ -174,7 +174,7 @@