mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
465 B

  1. # Quick & Dirty hack for the perllocal problem
  2. # .. to be included by packages which do 'share' the perllocal.pod file
  3. #
  4. eval `perl -V:archlib`
  5. for basename in \
  6. perllocal cpan
  7. do
  8. hook_add premake 1 "( cd $archlib; mv -v $basename.pod $basename.pod.sik || true; )"
  9. hook_add postmake 9 "( cd $archlib; mv -v $basename.pod $pkg.pod || true;
  10. mv -v $basename.pod.sik $basename.pod || true; )"
  11. var_append flist''del '|' "${archlib#/}/$basename.pod"
  12. done