diff options
Diffstat (limited to 'net/p5-File-Rsync')
-rw-r--r-- | net/p5-File-Rsync/Makefile | 4 | ||||
-rw-r--r-- | net/p5-File-Rsync/files/patch-Makefile.PL | 10 |
2 files changed, 12 insertions, 2 deletions
diff --git a/net/p5-File-Rsync/Makefile b/net/p5-File-Rsync/Makefile index e077de67957a..e706aebaa85a 100644 --- a/net/p5-File-Rsync/Makefile +++ b/net/p5-File-Rsync/Makefile @@ -21,9 +21,9 @@ RUN_DEPENDS= ${BUILD_DEPENDS} PERL_CONFIGURE= yes CONFIGURE_ARGS+= </dev/null -MAN3= File::Rsync.3 File::config.3 +MAN3= File::Rsync.3 -do-patch: +post-patch: @${REINPLACE_CMD} -e "s,<STDIN>,'${LOCALBASE}/bin/rsync'," ${WRKSRC}/makepm.PL .include <bsd.port.pre.mk> diff --git a/net/p5-File-Rsync/files/patch-Makefile.PL b/net/p5-File-Rsync/files/patch-Makefile.PL new file mode 100644 index 000000000000..a9ab06eb6e75 --- /dev/null +++ b/net/p5-File-Rsync/files/patch-Makefile.PL @@ -0,0 +1,10 @@ +--- Makefile.PL.orig Sat Jun 25 06:02:32 2005 ++++ Makefile.PL Sun Apr 23 11:54:39 2006 +@@ -20,6 +20,7 @@ + PL_FILES => { 'makepm.PL' => 'config.pm' }, + PM => { 'Rsync.pm' => '$(INST_LIB)/File/Rsync.pm', + 'config.pm' => '$(INST_ARCHLIB)/File/Rsync/Config.pm' }, ++ MAN3PODS => { 'Rsync.pm' => '$(INST_MAN3DIR)/File::Rsync.$(MAN3EXT)' }, + dist => { COMPRESS => 'gzip', SUFFIX => 'gz' }, + realclean => { FILES => 'config.pm' }, + ); |