On Tue, Jan 06, 2004 at 12:52:21PM +0000, Matthew Seaman wrote:

> To apply these options without having to remember to type them in on
> the command line all the time, you can create a 'Makefile.inc' in the
> port directory which just contains the 'WITH_FOO=bar' variable
> assignments, or you can use portupgrade(1) and record these
> customizations in it's pkgtools.conf configuration file.

Oops. Slight correction here.  You should create 'Makefile.local'
rather than 'Makefile.inc' -- in the vast majority of cases it will
work either way, but 'Makefile.inc' is reserved for automatically
generated Makefiles produced as part of the configuration process, as
seen in eg. the net/samba port.  'Makefile.local' is guarranteed not
to be unconditionally overwritten by the internal workings of the
ports system.



Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to