aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorbrnrd <brnrd@FreeBSD.org>2017-09-10 22:41:16 +0800
committerbrnrd <brnrd@FreeBSD.org>2017-09-10 22:41:16 +0800
commit41669ef773f45138ed047a9d5ad1b14ab60a1480 (patch)
treef85c5997f3e677142979b3f6cb959e711d705d3f /mail
parenta1f934f7b197716ab35d4d1fd00097c18574aad0 (diff)
downloadfreebsd-ports-gnome-41669ef773f45138ed047a9d5ad1b14ab60a1480.tar.gz
freebsd-ports-gnome-41669ef773f45138ed047a9d5ad1b14ab60a1480.tar.zst
freebsd-ports-gnome-41669ef773f45138ed047a9d5ad1b14ab60a1480.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>
Diffstat (limited to 'mail')
-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