Fix depends:

- DEFAULT_PHP_VER is deprecated
- Using it after bsd.port.pre.mk was hazardous,  when php was not yet installed it
was depending on /usr/local/lib/php/20131226/session.so:/usr/ports/www/php5-session,
i.e. a php 5.6 file and a php 5.4 port
This commit is contained in:
Antoine Brodin 2015-06-25 17:30:35 +00:00
parent a9aa4c46d1
commit 19c7992926
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=390589

View File

@ -19,6 +19,7 @@ CONFLICTS= codeigniter-1.[0-9]*
NO_BUILD= yes
USE_PHP= session pcre
WANT_PHP_WEB= yes
PHP_DEFAULT= 5.4
PLIST_SUB= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
CI_SYS_DIR= system
@ -84,8 +85,6 @@ PLIST_SUB+= NOAPACHE="@comment "
.endif
PLIST_SUB+= ECHO_MSG=${ECHO_MSG} CI_CONF_DIR=${CI_CONF_DIR}
DEFAULT_PHP_VER=5
.if ${PORT_OPTIONS:MMSSQL}
USE_PHP+= mssql
.endif