Skip to content
Browse files

we search /usr/local/include by default but we weren't searching

/usr/local/lib, fixed that

don't rebuild META.yml if we're not setting AUTHOR, this was producing
a bad META.yml on older EU::MMs
  • Loading branch information...
1 parent a06dd31 commit ed28c9ccc0f3f86446141e1f103e029a77d1280f Tony Cook committed Jul 5, 2006
Showing with 5 additions and 0 deletions.
  1. +5 −0 Makefile.PL
View
5 Makefile.PL
@@ -433,6 +433,7 @@ sub init {
# it can't find and it doesn't look for -L in ldflags
#@deflib{@hidden} = @hidden;
}
+ push @libs, grep -d, qw(/usr/local/lib);
$formats{'jpeg'}={
order=>'21',
@@ -829,6 +830,10 @@ sub make_metafile {
my $version = MM->parse_version($opts->{VERSION_FROM})
or die "Could not extract version number from $opts->{VERSION_FROM}\n";
+ # we don't set this on older EU::MM and it corrupts META.yml
+ # so don't generate it
+ return unless $opts->{AUTHOR};
+
my $meta = <<YAML;
--- #YAML:1.0
name: $opts->{NAME}

0 comments on commit ed28c9c

Please sign in to comment.
Something went wrong with that request. Please try again.