pakistan is a short-term enemy some day perhaps india pak will merge like east n west germany - or at least the parts of pak east and south of sindhu river.
but if not who cares
on the other hand your contention that we can have permanent friendship with the chinese is debatable at best. this is not possible. there is too much resource crunch globally for which both of these countries need to compete badly. friendship is out of question