just use Mesa's buildlink.mk file to handle all possible combinations of XFree86 versions and xpkgwedge installations.