making ports

Serge Gagnon ser_gagnon at sympatico.ca
Fri Nov 5 09:51:22 PST 2004


>>>>> On Fri, 5 Nov 2004, "Matt" == Matt wrote:

  Matt> When making a port, how do I pass arguments to make?  I.e. to
  Matt> build the port a specific way.

You could look at the Makefile and find for WITH_BLA_OPTION or 
WITHOUT_BLA_OPTIONS.
ex: 
; grep WITH /usr/ports/shells/rc/Makefile 
.if defined(WITH_READLINE)
.if !defined(WITH_READLINE)

cd /usr/shells/rc
make install WITH_READLINE=yes

You can also look at /etc/make.conf

-- 
Serge Gagnon <ser_gagnon at sympatico.ca>
Quebec, Qc, Canada




More information about the freebsd-ports mailing list