Yes, check the -D/--database flag in 'man pacman'.
Thanks for your help.
]]>sudo pacman -S --asdeps --needed xorg-server-common
It seems the only way to mark a installed pkg as dependency is to reinstall it with "--asdeps".
Is there an alternative way to achieve it without reinstalling a pkg?
]]>