aboutsummaryrefslogtreecommitdiffstats
path: root/mail/p5-qpsmtpd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/p5-qpsmtpd/Makefile')
-rw-r--r--mail/p5-qpsmtpd/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/p5-qpsmtpd/Makefile b/mail/p5-qpsmtpd/Makefile
index 0fef3e5e8f39..b5c243dcf571 100644
--- a/mail/p5-qpsmtpd/Makefile
+++ b/mail/p5-qpsmtpd/Makefile
@@ -28,7 +28,8 @@ RUN_DEPENDS:= ${BUILD_DEPENDS}
OPTIONS = MODPERL "Enable Apache Support via mod_perl" On
.ifdef WITH_MODPERL
-RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/mod_perl2.pm:${PORTSDIR}/www/mod_perl2
+USE_APACHE= 20+
+RUN_DEPENDS+= ${APACHE_PKGNAMEPREFIX}mod_perl2>=0:${PORTSDIR}/www/mod_perl2
.endif
MAKE_JOBS_SAFE= yes