View Single Post
  #5   (View Single Post)  
Old 16th August 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
Join Date: Apr 2008
Location: Netherlands
Posts: 2,241

Either of these options would end up overriding all other CONFIGURE_ARGS set in the Makefile. You would need to redefine all of them on the commandline or in make.conf which isn't practical.
No they won't, make.conf is sourced before the Makefile (See /usr/share/mk/, Makefile.local is sourced after the Makefile (Which is why Makefile.local uses +=), commandline arguments are also read before the Makefile ... So it won't override anything.

This would work, but you would still need to add:
.include "Makefile.local"
to the end of the Makefile.
No, Makefile.local is added automatically, as are several other Makefiles, see /usr/ports/Mk/ line 1205

Trust me, it works as I said it does .... But don't take my word for it, try it out your self .
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote