The following is now OBSOLETE in recent tool versions and is only provided here for older tool users. Upgrade your tool instead.
Webel recommended this HACK : It may mean you have to do a bit of sorting out when the SysML-1.6 compliant tool version of «~interfaceBlock» arrives, but at least your model will be correct. And: This is better than sticking with the now-deprecated UML Port conjugation: Model integrity beats convenience!