From nobody Fri Feb 10 05:51:44 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 4PCjXw4C5lz3ndch; Fri, 10 Feb 2023 05:51:44 +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 4PCjXw3mdDz4JtB; Fri, 10 Feb 2023 05:51:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676008304; 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=jUic4Jc0r6UHEDnpmEOR6tFlYpEy1WcDJtfdkADIemM=; b=m/xFqD9zYXKVD47pya8jTaOUscHj0kfmY1v+nvpBaC2r0JjRr2ZC7iz+1q/wlJRUGMze+k doFIT9GZu9IJN1yaW7ins00HKfQr428YGK6SWiYiKksKL+o7PM6ByqM94hYv6CPK4T66Am jzslBicZEUnZZefWhrlFGLvIpne/WC8RC8tQWxCBav9f9hC9ImiJdQW/gwSnDZQE8i/1NX LFgCXscNC8b6B0Ema1juNL6th64WZYjbqQSGrTXO+DvOq3wW0hyxu3dWaqy3xhTqawJj4N M396VNncL5fulH2J+QjwLSq/GDiNXw1eIqDUiUX+4K8Y+se8Cnr/EFOER+Xhzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676008304; 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=jUic4Jc0r6UHEDnpmEOR6tFlYpEy1WcDJtfdkADIemM=; b=vcquINWCHVUdmVD3WtlkJx2cddSyb2jMgWC1CQHAc22UD3yRlVmARKcjDWQCE4zI9RBgDV 4dfb776JaCe5B74MwSZRP6UyqMyjNcIxH7vlsEhSOal6UA4/x/07wcgA6OBxfZjLEWmxKU 1WzmSEEqFChuLX9/gweSTRnbMcjSgXsj8pfNRhPjZ+uLevEuCrsgxwj3u0tWkIKricEahm gIk/SuHNHV5exj2aXzah1cy2NAXV1l14uaPwjNQRtDO0ue3c4FwuHe809bpVU4rjemesq7 Enn18sqOEcvOuHnKdJYIiyjjn5+oVTALIx7oLMTxxY5UzYpnRve1OK43tLwwbg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676008304; a=rsa-sha256; cv=none; b=hUPDcsmaRFfoOJniuKR0XqFHKU7/asnedGpSXjJpsRPEkDunZdBqcVPoF4cGKvSr03lV6R JkJSBvKlOUZfKaK+vw6yNrtaHsrlQG8KYXjv23xk9yTWuOzWK/296nxtyBZwFixxPGFjVE SxMan0JwfyhU9tKvATcENoIkBZPFhiP+5kCZNifpFRJJJx6RXqFMyvXNp+vqPfq7uQU4J/ UAp1wBFHB5Yr3L6ce89h5r/ohWMFPJSaVgvmyl9jGHZpSbP9jIMxtV3s/hYYBNZK6bYduR x1iKG21dOZy+Y9cieY4cGDppEL+6ydEdNlWgBL4cbaXTgIYge03wYs1Ghy9/6A== 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 4PCjXw2rdGz16QZ; Fri, 10 Feb 2023 05:51:44 +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 31A5piZj086895; Fri, 10 Feb 2023 05:51:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31A5piCI086894; Fri, 10 Feb 2023 05:51:44 GMT (envelope-from git) Date: Fri, 10 Feb 2023 05:51:44 GMT Message-Id: <202302100551.31A5piCI086894@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yasuhiro Kimura Subject: git: 585e6543da46 - main - japanese/ruby-uconv: Fix build with Ruby 3.1 and 12.3-RELEASE 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: yasu X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 585e6543da46bf87df03b8a759401004a55e8d94 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yasu: URL: https://cgit.FreeBSD.org/ports/commit/?id=585e6543da46bf87df03b8a759401004a55e8d94 commit 585e6543da46bf87df03b8a759401004a55e8d94 Author: Yasuhiro Kimura AuthorDate: 2023-01-26 11:04:34 +0000 Commit: Yasuhiro Kimura CommitDate: 2023-02-10 05:50:33 +0000 japanese/ruby-uconv: Fix build with Ruby 3.1 and 12.3-RELEASE While I'm here, * Add license information. * Pet portclippy. * Tidy up Makefile with portfmt. PR: 269166 Approved by: maintainer timeout --- japanese/ruby-uconv/Makefile | 12 ++++++++---- japanese/ruby-uconv/files/patch-extconf.rb | 10 ++++++++++ 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/japanese/ruby-uconv/Makefile b/japanese/ruby-uconv/Makefile index 71ec25d3ffec..f19116e3900a 100644 --- a/japanese/ruby-uconv/Makefile +++ b/japanese/ruby-uconv/Makefile @@ -8,12 +8,16 @@ MAINTAINER= ruby@FreeBSD.org COMMENT= Unicode conversion library with Japanese codesets support for Ruby WWW= http://www.yoshidam.net/Ruby.html #uconv -USES= ruby:extconf +LICENSE= RUBY +LICENSE_FILE= ${WRKSRC}/README -WRKSRC= ${WRKDIR}/${PORTNAME} +USES= ruby:extconf + +MAKE_ARGS= INSTALL_DATA="${INSTALL_DATA}" \ + INSTALL_PROG="${INSTALL_PROGRAM}" INSTALL_TARGET= site-install -MAKE_ARGS= INSTALL_PROG="${INSTALL_PROGRAM}" \ - INSTALL_DATA="${INSTALL_DATA}" + +WRKSRC= ${WRKDIR}/${PORTNAME} OPTIONS_DEFINE= DOCS diff --git a/japanese/ruby-uconv/files/patch-extconf.rb b/japanese/ruby-uconv/files/patch-extconf.rb new file mode 100644 index 000000000000..ea48d76e7ca6 --- /dev/null +++ b/japanese/ruby-uconv/files/patch-extconf.rb @@ -0,0 +1,10 @@ +--- extconf.rb.orig 2003-03-12 05:20:47 UTC ++++ extconf.rb +@@ -1,6 +1,6 @@ + require 'mkmf' + +-$CFLAGS = "" ++$CFLAGS = "-fdeclspec" + #$CFLAGS="-DUSE_EUC -DUSE_SJIS" + ##$CFLAGS="-DUSE_SJIS -DUSE_WIN32API" +