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>
This commit is contained in:
Bernard Spil 2017-09-10 14:41:16 +00:00
parent b0df209326
commit 4f2ccecfaa
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=449575
2 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -1,2 +1,3 @@
TIMESTAMP = 1498052573
SHA256 (sqlgreywebinterface-1.1.8.tgz) = 33685805e417f13de7224fe5ccb98c4a4a2df27cb2f1c98a3a8ae76f2911cf08
SIZE (sqlgreywebinterface-1.1.8.tgz) = 14257