Date: Sun, 20 Jun 2021 11:43:01 GMT From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 82adddc9f242 - main - net/p5-Net-Dict: Convert REINPLACE_CMD to patch file Message-ID: <202106201143.15KBh16l015336@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=82adddc9f24252c1f11ad0e37717d526735400f4 commit 82adddc9f24252c1f11ad0e37717d526735400f4 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2021-06-20 11:32:21 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> 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 <bsd.port.mk> 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 <neil@bowers.com>', + 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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202106201143.15KBh16l015336>