Hi, Attached patch fixes build of lang/parrot as root. No pkgname bump as package should be identical. Heavly based on
https://trac.parrot.org/parrot/changeset/38214 Please review. -- best regards q#
Index: patches/patch-config_auto_perldoc_pm =================================================================== RCS file: patches/patch-config_auto_perldoc_pm diff -N -u patches/patch-config_auto_perldoc_pm --- /dev/null 27 May 2009 17:09:19 -0000 +++ patches/patch-config_auto_perldoc_pm 27 May 2009 23:09:19 -0000 @@ -0,0 +1,17 @@ + +https://trac.parrot.org/parrot/ticket/555 + +$OpenBSD$ +--- config/auto/perldoc.pm.orig Mon Jan 19 23:12:29 2009 ++++ config/auto/perldoc.pm Wed May 27 23:24:49 2009 +@@ -38,7 +38,9 @@ sub runstep { + + my $cmd = $conf->data->get_p5('scriptdirexp') . q{/perldoc}; + my ( $fh, $filename ) = tempfile( UNLINK => 1 ); +- my $content = capture_output("$cmd -ud $filename perldoc") || undef; ++ my($stdout, $stderr, $retval) = ++ capture_output("$cmd -u perldoc > $filename"); ++ my($content) = $retval ? undef : $stderr; + + return 1 unless defined( $self->_initial_content_check($conf, $content) ); + Index: patches/patch-config_gen_makefiles_docs_in =================================================================== RCS file: patches/patch-config_gen_makefiles_docs_in diff -N -u patches/patch-config_gen_makefiles_docs_in --- /dev/null 27 May 2009 17:09:19 -0000 +++ patches/patch-config_gen_makefiles_docs_in 27 May 2009 23:09:19 -0000 @@ -0,0 +1,15 @@ + +https://trac.parrot.org/parrot/ticket/555 + +$OpenBSD$ +--- config/gen/makefiles/docs.in.orig Mon Jan 19 23:12:30 2009 ++++ config/gen/makefiles/docs.in Wed May 27 23:27:48 2009 +@@ -35,7 +35,7 @@ doc-prep: + $(MKPATH) ops + + packfile-c.pod: ../src/packfile.c +-#IF(new_perldoc): $(PERLDOC) -ud packfile-c.pod ../src/packfile.c ++#IF(new_perldoc): $(PERLDOC) -u ../src/packfile.c > packfile-c.pod + #ELSE: $(PERLDOC) -u ../src/packfile.c > packfile-c.pod + + clean: Index: patches/patch-config_gen_makefiles_pm =================================================================== RCS file: patches/patch-config_gen_makefiles_pm diff -N -u patches/patch-config_gen_makefiles_pm --- /dev/null 27 May 2009 17:09:19 -0000 +++ patches/patch-config_gen_makefiles_pm 27 May 2009 23:09:19 -0000 @@ -0,0 +1,17 @@ + +https://trac.parrot.org/parrot/ticket/555 + +$OpenBSD$ +--- config/gen/makefiles.pm.orig Mon Jan 19 23:12:30 2009 ++++ config/gen/makefiles.pm Wed May 27 23:41:26 2009 +@@ -156,8 +156,8 @@ sub makefiles { + $pod =~ s/\.ops$/.pod/; + print {$MAKEFILE} "ops$slash$pod: ..${slash}src${slash}ops${slash}$ops\n"; + if ( $new_perldoc == 1 ) { +- print {$MAKEFILE} "\t\$(PERLDOC) -ud ops${slash}$pod" +- . " ..${slash}src${slash}ops${slash}$ops\n"; ++ print {$MAKEFILE} "\t\$(PERLDOC) -u" ++ . " ..${slash}src${slash}ops${slash}$ops > ops${slash}$pod\n"; + print {$MAKEFILE} "\t\$(CHMOD) 0644 ops${slash}$pod\n\n"; + } + else {