agar ye optional hai tu bulkul apne sahi kaha... mjhe ilm nahe iska.
lekin jese qasar namaz hai... aksar log nahe parhte ye soch k porey namaz ka ziada sawab hoga jab k safar m qasr parhna wajib hai...
In case of danger to your life and provided no other food is available, then it is permitted. If you eat or not is down to you, but if you eat, no blame is attached to you. In today's world, there is no chance that only pork would be available, no vegetables or other food, including tin food.