ap-perl was removed, try depending on ap2-perl instead (untested).