summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2012-01-30 11:41:13 +0100
committerNicholas Clark <nick@ccl4.org>2012-02-18 13:16:52 +0100
commit1179df5f52411bc16f719e9134d4978bc0c05cd9 (patch)
treece16274122e1ab276a29876b91ec1854ba023e99
parent6f7c818601340cd36597dd56f5cfb30800501348 (diff)
downloadperl-1179df5f52411bc16f719e9134d4978bc0c05cd9.tar.gz
Ensure Pod::Simple is built before Pod::Functions.
This will allow Pod::Functions to use Pod::Simple as part of its build process.
-rwxr-xr-xMakefile.SH4
-rw-r--r--make_ext.pl3
2 files changed, 5 insertions, 2 deletions
diff --git a/Makefile.SH b/Makefile.SH
index 5cd7179237..d579deed2b 100755
--- a/Makefile.SH
+++ b/Makefile.SH
@@ -177,7 +177,9 @@ done
: Prepare dependency lists for Makefile.
dynamic_list=' '
dynamic_ext_re="lib/auto/re/re.$dlext"
-extra_dep=''
+extra_dep='
+ext/Pod-Functions/pm_to_blib: cpan/Pod-Simple/pm_to_blib
+'
for f in $dynamic_ext; do
: the dependency named here will never exist
base=`echo "$f" | sed 's/.*\///'`
diff --git a/make_ext.pl b/make_ext.pl
index 6425e37ea4..d6561b12e5 100644
--- a/make_ext.pl
+++ b/make_ext.pl
@@ -211,10 +211,11 @@ elsif ($is_VMS) {
{
# Cwd needs to be built before Encode recurses into subdirectories.
+ # Pod::Simple needs to be built before Pod::Functions
# This seems to be the simplest way to ensure this ordering:
my (@first, @other);
foreach (@extspec) {
- if ($_ eq 'Cwd') {
+ if ($_ eq 'Cwd' || $_ eq 'Pod/Simple') {
push @first, $_;
} else {
push @other, $_;