Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Nov 2013 13:40:00 +0100
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        Kevin Lo <kevlo@FreeBSD.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org, spil.oss@gmail.com
Subject:   Re: svn commit: r333654 - head/www/owncloud
Message-ID:  <B0E7C54D4868AB07AFDD0335@ogg.in.absolight.net>
In-Reply-To: <201311130632.rAD6W4JR098396@svn.freebsd.org>
References:  <201311130632.rAD6W4JR098396@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
+--On 13 novembre 2013 06:32:04 +0000 Kevin Lo <kevlo@FreeBSD.org> wrote:
| +.include <bsd.port.options.mk>
| +
| +.if ${PORT_OPTIONS:MMYSQL}
| +USE_MYSQL=	client
| +USE_PHP+=	mysql pdo_mysql
| +.endif
| +
| +.if ${PORT_OPTIONS:MPGSQL}
| +USE_PGSQL=	yes
| +USE_PHP+=	pgsql pdo_pgsql
| +.endif
| +
| +.if ${PORT_OPTIONS:MSQLITE}
| +USE_PHP+=	sqlite3 pdo_sqlite
| +.endif

All that should be condensed into :

MYSQL_USE=      mysql=client php=mysql,pdo_mysql
PGSQL_USE=      pgsql=yes php=pgsql,pdo_pgsql
SQLITE_USE=     php=sqlite3,pdo_sqlite

:-)

-- 
Mathieu Arnold



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B0E7C54D4868AB07AFDD0335>