aboutsummaryrefslogtreecommitdiff
path: root/mail/sgwi
diff options
context:
space:
mode:
authorBernard Spil <brnrd@FreeBSD.org>2017-09-10 14:41:16 +0000
committerBernard Spil <brnrd@FreeBSD.org>2017-09-10 14:41:16 +0000
commit4f2ccecfaaefc3e831097a1f579bdccf39883cf4 (patch)
treef85c5997f3e677142979b3f6cb959e711d705d3f /mail/sgwi
parentb0df209326b66bd42bcb055bb20276612879b9c3 (diff)
downloadports-4f2ccecfaaefc3e831097a1f579bdccf39883cf4.tar.gz
ports-4f2ccecfaaefc3e831097a1f579bdccf39883cf4.zip
mail/sgwi: Switch to mysqli PHP extension
- Fixes build with PHP 7.x - Switch to USES=php PR: 222173 Submitted by: Lukasz Wasikowski <lukasz@wasikowski.net>
Notes
Notes: svn path=/head/; revision=449575
Diffstat (limited to 'mail/sgwi')
-rw-r--r--mail/sgwi/Makefile9
-rw-r--r--mail/sgwi/distinfo1
2 files changed, 5 insertions, 5 deletions
diff --git a/mail/sgwi/Makefile b/mail/sgwi/Makefile
index 4e1b04381714..d3bbc4d4b027 100644
--- a/mail/sgwi/Makefile
+++ b/mail/sgwi/Makefile
@@ -3,9 +3,10 @@
PORTNAME= sgwi
PORTVERSION= 1.1.8
+PORTREVISION= 1
CATEGORIES= mail www
MASTER_SITES= http://www.vanheusden.com/sgwi/ \
- http://lukasz.wasikowski.net/files/
+ https://www.freebsd.systems/files/
DISTNAME= sqlgreywebinterface-${PORTVERSION}
MAINTAINER= lukasz@wasikowski.net
@@ -13,7 +14,7 @@ COMMENT= PHP web interface to SQLGrey
LICENSE= GPLv2
-USES= tar:tgz
+USES= tar:tgz php:web
NO_BUILD= yes
SUB_FILES+= pkg-message pkg-install
SUB_LIST= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
@@ -27,12 +28,10 @@ SQLITE3_DESC= SQLite3 back-end (use pgsql PHP extension)
OPTIONS_DEFAULT=MYSQL
-MYSQL_USE= PHP=mysql
+MYSQL_USE= PHP=mysqli
PGSQL_USE= PHP=pgsql
SQLITE3_USE= PHP=sqlite3
-WANT_PHP_WEB= yes
-
post-patch:
${FIND} ${WRKSRC} -name '*.orig' -delete
diff --git a/mail/sgwi/distinfo b/mail/sgwi/distinfo
index d833cd3a30a1..79fad51ad296 100644
--- a/mail/sgwi/distinfo
+++ b/mail/sgwi/distinfo
@@ -1,2 +1,3 @@
+TIMESTAMP = 1498052573
SHA256 (sqlgreywebinterface-1.1.8.tgz) = 33685805e417f13de7224fe5ccb98c4a4a2df27cb2f1c98a3a8ae76f2911cf08
SIZE (sqlgreywebinterface-1.1.8.tgz) = 14257