Skip to content

Commit

Permalink
Fix bug for Module::Install dist. files as AUR packages.
Browse files Browse the repository at this point in the history
Module::Install would try to determine its own deps and install any it
thought was missing!
  • Loading branch information
juster committed Apr 17, 2010
1 parent 2ad2901 commit a6c5c34
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions ChangeLog
@@ -1,3 +1,11 @@
2010-04-17 Justin Davis <juster@cpan.org>

* lib/CPANPLUS/Dist/Arch.pm: Fix bug where installing packages
from the AUR runs Module::AutoInstall inside the PKGBUILD.
Module::AutoInstall installed packages while running _inside_ the
PKGBUILD. Maybe all AUR packages created by cpan2aur who used
Module::Install were broken! Reported by Xenoterracide

2010-04-13 Justin Davis <juster@cpan.org>

* lib/CPANPLUS/Dist/Arch.pm (create): Fix bug where I assumed
Expand Down
2 changes: 1 addition & 1 deletion lib/CPANPLUS/Dist/Arch.pm
Expand Up @@ -101,7 +101,7 @@ md5sums=('[% md5sums %]')
build() {
DIST_DIR="${srcdir}/[% distdir %]"
export PERL_MM_USE_DEFAULT=1
export PERL_AUTOINSTALL=--skipdeps PERL_MM_USE_DEFAULT=1
{ cd "$DIST_DIR" &&
[% IF is_makemaker %]
perl Makefile.PL INSTALLDIRS=vendor &&
Expand Down

0 comments on commit a6c5c34

Please sign in to comment.