diff options
-rwxr-xr-x | newapkbuild.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newapkbuild.in b/newapkbuild.in index 0047ab2..d315492 100755 --- a/newapkbuild.in +++ b/newapkbuild.in @@ -131,7 +131,7 @@ __EOF__ if [ -z "$buildtype" ]; then if [ -x "$sdir"/configure ]; then buildtype="autotools" - elif [ -r "$sdir"/Makefile.PL ]; then + elif [ -r "$sdir"/Makefile.PL ] || [ "${pn#perl-}" != "$pn" ]; then buildtype="perl" elif [ -r "$sdir"/waf ]; then buildtype="waf" |