Skip to content

Commit

Permalink
mail-filter/spamassassin: new revision with fixed packlist.
Browse files Browse the repository at this point in the history
SpamAssassin, being a perl package, installs a ".packlist" file. By
default that file contains paths from ${D}, our temporary installation
directory. This new revision adds a call to perl_fix_packlist() from
the perl-functions eclass, which replaces those incorrect paths with
the correct ones on the root filesystem.

Package-Manager: portage-2.3.0
  • Loading branch information
orlitzky committed Dec 23, 2016
1 parent 1d196ab commit f82deea
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,16 @@ src_install () {
update-spamassassin-rules
fi

# Remove perllocal.pod to avoid file collisions (bug #603338)
# Remove perllocal.pod to avoid file collisions (bug #603338).
perl_delete_localpod || die "failed to remove perllocal.pod"

# The perl-module eclass calls three other functions to clean
# up in src_install. The first fixes references to ${D} in the
# packlist, and is useful to us, too. The other two functions,
# perl_delete_emptybsdir and perl_remove_temppath, don't seem
# to be needed: there are no empty directories, *.bs files, or
# ${D} paths remaining in our installed image.
perl_fix_packlist || die "failed to fix paths in packlist"
}

src_test() {
Expand Down

0 comments on commit f82deea

Please sign in to comment.