Modified: trunk/dports/lang/php/Portfile (139652 => 139653)
--- trunk/dports/lang/php/Portfile 2015-08-23 01:43:44 UTC (rev 139652)
+++ trunk/dports/lang/php/Portfile 2015-08-23 03:53:15 UTC (rev 139653)
@@ -278,7 +278,15 @@
PortGroup select 1.0
if {[vercmp ${branch} 5.2] == 0} {
- revision 10
+ revision 11
+ } elseif {[vercmp ${branch} 5.3] == 0} {
+ revision 1
+ } elseif {[vercmp ${branch} 5.4] == 0} {
+ revision 1
+ } elseif {[vercmp ${branch} 5.5] == 0} {
+ revision 1
+ } elseif {[vercmp ${branch} 5.6] == 0} {
+ revision 1
}
depends_run port:php_select
@@ -323,11 +331,11 @@
# On the other hand we want libedit to be the default because its license
# is compatible with PHP's which means PHP can be distributable.
variant libedit conflicts readline description {Build readline extension using libedit library} {
- depends_lib-append port:libedit
+ depends_lib-append port:libedit port:ncurses
configure.args-append --with-libedit=${prefix}
}
variant readline conflicts libedit description {Build readline extension using readline library} {
- depends_lib-append port:readline
+ depends_lib-append port:ncurses port:readline
configure.args-append --with-readline=${prefix}
}
if {![variant_isset readline]} {