Set USES=localbase instead of CPPFLAGS and LIBS
Approved by: portmgr (blanket, infrastructure changes)