diff options
-rw-r--r-- | net/p5-Net-Dict/Makefile | 3 | ||||
-rw-r--r-- | net/p5-Net-Dict/files/patch-Makefile.PL | 10 | ||||
-rw-r--r-- | 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; |