I am exporting a PKG_PATH variable in ~/.profile. When I launched a terminal and tried to use this variable (indirectly, via pkg_add) I saw that the variable was not initiated, as such it is blank and pkg_add fails. So I sourced the file myself, and it worked.

Weird thing is, when I restart the terminal same thing happens again. Even after a reboot, each time I launch a terminal I have to source .profile. Shouldn't a terminal take care of this automatically and source it? At least this was the case with other systems I have used in the past.

It happens with both the root and the normal user.

I have googled but did not find any helpful information. Can someone help me?