Unknown why pkgsrc's patch-ab unconditionally removed -DSYSV in 1998. Has probably been failing in bulk builds since then.