diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-03-17 10:51:07 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-03-17 10:51:07 +0000 |
commit | 50cfdd620a2411e4a7855208f7c3fc85893e41cd (patch) | |
tree | a7a70aa355ddd582f01949726b635e6c47f6a18b /newapkbuild.in | |
parent | b581f87e8530f8c2a855c3473763fbb800d9e401 (diff) | |
download | abuild-50cfdd620a2411e4a7855208f7c3fc85893e41cd.tar.gz abuild-50cfdd620a2411e4a7855208f7c3fc85893e41cd.tar.bz2 abuild-50cfdd620a2411e4a7855208f7c3fc85893e41cd.tar.xz abuild-50cfdd620a2411e4a7855208f7c3fc85893e41cd.zip |
newapkbuild: assume perl package if package name starts with perl-
Diffstat (limited to 'newapkbuild.in')
-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" |