aboutsummaryrefslogtreecommitdiff
path: root/www/drupal7
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-08-25 12:19:43 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-08-25 12:19:43 +0000
commit964858137d6f68a2a2ed9747e79ed71e11c0428c (patch)
treeab9fc35c083927690b346175a37b069a1d344622 /www/drupal7
parentea1ddaae969d9bec6264bed6d4cd09a57ebbd8a6 (diff)
downloadports-964858137d6f68a2a2ed9747e79ed71e11c0428c.tar.gz
ports-964858137d6f68a2a2ed9747e79ed71e11c0428c.zip
Convert to USES=pgsql
Notes
Notes: svn path=/head/; revision=366069
Diffstat (limited to 'www/drupal7')
-rw-r--r--www/drupal7/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/www/drupal7/Makefile b/www/drupal7/Makefile
index 466709acd0d6..d854e2322511 100644
--- a/www/drupal7/Makefile
+++ b/www/drupal7/Makefile
@@ -31,6 +31,9 @@ DOCS= CHANGELOG.txt INSTALL.mysql.txt INSTALL.sqlite.txt \
SUB_FILES+= pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
+PGSQL_USES= pgsql
+PGSQL_USE= PHP=pdo_pgsql
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MSQLITE3}
@@ -40,10 +43,6 @@ USE_PHP+= pdo_sqlite
USE_MYSQL= yes
USE_PHP+= pdo_mysql
.endif
-.if ${PORT_OPTIONS:MPGSQL}
-USE_PGSQL= yes
-USE_PHP+= pdo_pgsql
-.endif
do-install:
${MKDIR} ${STAGEDIR}${DRUPAL_DIR}