Ports depending on asterisk use flavors to generate packages for each version. Make sure the default flavor points to the latest version.