From owner-dev-commits-ports-main@freebsd.org Sun Jun 20 11:43:02 2021 Return-Path: Delivered-To: dev-commits-ports-main@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 79D1464E136; Sun, 20 Jun 2021 11:43:02 +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 4G79lB0kYYz4rw1; Sun, 20 Jun 2021 11:43:01 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 C407D1124; Sun, 20 Jun 2021 11:43:01 +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 15KBh1SG015337; Sun, 20 Jun 2021 11:43:01 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 15KBh16l015336; Sun, 20 Jun 2021 11:43:01 GMT (envelope-from git) Date: Sun, 20 Jun 2021 11:43:01 GMT Message-Id: <202106201143.15KBh16l015336@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 82adddc9f242 - main - net/p5-Net-Dict: Convert REINPLACE_CMD to patch file MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 82adddc9f24252c1f11ad0e37717d526735400f4 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jun 2021 11:43:02 -0000 The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=82adddc9f24252c1f11ad0e37717d526735400f4 commit 82adddc9f24252c1f11ad0e37717d526735400f4 Author: Po-Chuan Hsieh AuthorDate: 2021-06-20 11:32:21 +0000 Commit: Po-Chuan Hsieh CommitDate: 2021-06-20 11:32:21 +0000 net/p5-Net-Dict: Convert REINPLACE_CMD to patch file --- net/p5-Net-Dict/Makefile | 3 +-- net/p5-Net-Dict/files/patch-Makefile.PL | 10 ++++++++++ net/p5-Net-Dict/files/test_host.cfg | 2 ++ 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/net/p5-Net-Dict/Makefile b/net/p5-Net-Dict/Makefile index c42794b8889a..59e767f539d3 100644 --- a/net/p5-Net-Dict/Makefile +++ b/net/p5-Net-Dict/Makefile @@ -21,7 +21,6 @@ USE_PERL5= configure NO_ARCH= yes post-patch: - @${REINPLACE_CMD} -e '/EXE_FILES/d' ${WRKSRC}/Makefile.PL - @${ECHO_CMD} '$$HOST = "test.dict.org"; $$PORT = 2628;' > ${WRKSRC}/t/test_host.cfg + @${CP} ${FILESDIR}/test_host.cfg ${WRKSRC}/t/test_host.cfg .include diff --git a/net/p5-Net-Dict/files/patch-Makefile.PL b/net/p5-Net-Dict/files/patch-Makefile.PL new file mode 100644 index 000000000000..a8840eb539b1 --- /dev/null +++ b/net/p5-Net-Dict/files/patch-Makefile.PL @@ -0,0 +1,10 @@ +--- Makefile.PL.orig 2016-03-01 12:44:17 UTC ++++ Makefile.PL +@@ -21,7 +21,6 @@ if ($mm_ver =~ /_/) { # dev version + 'Carp' => 0, + 'AppConfig::Std' => 0, + }, +- EXE_FILES => [qw(dict tkdict)], + AUTHOR => 'Neil Bowers ', + ABSTRACT_FROM => 'lib/Net/Dict.pod', + META_MERGE => { diff --git a/net/p5-Net-Dict/files/test_host.cfg b/net/p5-Net-Dict/files/test_host.cfg new file mode 100644 index 000000000000..544a1734f8e9 --- /dev/null +++ b/net/p5-Net-Dict/files/test_host.cfg @@ -0,0 +1,2 @@ +$HOST = "test.dict.org"; +$PORT = 2628;