Date: Sat, 10 Mar 2007 22:01:45 +0100 From: Bartosz Fabianowski <freebsd@chillt.de> To: Daniel Mouritsen <daniel.mouritsen@gmail.com> Cc: freebsd-stable@freebsd.org Subject: Re: Another newbie question, about makefile options Message-ID: <45F31CB9.2000808@chillt.de> In-Reply-To: <bae323940703101128s74c81133uc85f3aaa7ca12d33@mail.gmail.com> References: <bae323940703101128s74c81133uc85f3aaa7ca12d33@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> So my question is, should i pass the makefile options only when running > "make" to compile the program (that would make sence wouldnt it?) or should > i use them everytime i run make as in both when doing "make" and "make > install clean". I think your experience already showed you that the options have to be specified both when compiling and when installing. The reason is that when you run make a second time, the makefile gets parsed again and the dependencies are checked again. Even if you pass the same flags, new dependencies may still appear during the "make install" stage. These are run-time dependencies that were not required to build the port but must be present in order for it to function correctly. Thus, always pass the same options to make but do not be surprised if "make install" still pulls in new dependencies. - Bartosz
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45F31CB9.2000808>