aboutsummaryrefslogtreecommitdiff
path: root/mail/squirrelmail/bsd.squirrelmail.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mail/squirrelmail/bsd.squirrelmail.mk')
-rw-r--r--mail/squirrelmail/bsd.squirrelmail.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/mail/squirrelmail/bsd.squirrelmail.mk b/mail/squirrelmail/bsd.squirrelmail.mk
index 596592030e1b..2e30866747d8 100644
--- a/mail/squirrelmail/bsd.squirrelmail.mk
+++ b/mail/squirrelmail/bsd.squirrelmail.mk
@@ -30,13 +30,13 @@
MASTER_SITES?= http://www.squirrelmail.org/plugins/
PKGNAMEPREFIX?= squirrelmail-
-PKGNAMESUFFIX?= -plugin
+PKGNAMESUFFIX?= -plugin${PHP_PKGNAMESUFFIX}
DIST_SUBDIR?= squirrelmail
-RUN_DEPENDS+= ${LOCALBASE}/${SQUIRRELDIR_REL}/index.php:mail/squirrelmail
+RUN_DEPENDS+= ${LOCALBASE}/${SQUIRRELDIR_REL}/index.php:mail/squirrelmail@${PHP_FLAVOR}
.ifdef USE_SM_COMPAT
-RUN_DEPENDS+= squirrelmail-compatibility-plugin>0:mail/squirrelmail-compatibility-plugin
+RUN_DEPENDS+= squirrelmail-compatibility-plugin${PHP_PKGNAMESUFFIX}>0:mail/squirrelmail-compatibility-plugin@${PHP_FLAVOR}
.endif
.ifndef WITHOUT_ACTIVATE
@@ -49,7 +49,7 @@ NO_ARCH= yes
NO_WRKSUBDIR= yes
USE_PHP?= yes
.if empty(USES:Mphp*)
-USES+= php:web
+USES+= php:web,flavors
.endif
SQUIRREL_PLUGIN_NAME?= ${PORTNAME}