Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Oct 2002 16:16:33 -0500
From:      Michael Joyner <mjoyner2@hq.dyns.cx>
To:        Soren Harward <soren@et.byu.edu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: changing build options for ports
Message-ID:  <1036098993.3dc19db17f2a7@imp.hq.dyns.cx>
In-Reply-To: <20021031211337.GA24478@tmmc.dyndns.org>
References:  <20021031211337.GA24478@tmmc.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help
you can usually set compile time options in the environment 
before invoking make
i.e. 
export WITHOUT_X11=true
make
Quoting Soren Harward <soren@et.byu.edu>:

> I was trying to build VIM on my webserver, and it started to build the X
> version, downloading all the X libraries, etc.  This is a lights out
> machine, so I didn't want X on it, so I killed the build.  I eventually
> figured out that by putting:
> 
> WITHOUT_X11=1
> 
> somewhere near the beginning of my Makefile, I could force it to build
> w/o X11 support.  With my new-found power, I began to tweak other
> build-time configuration options with other ports.  But then I thought,
> "you know, theres gotta be a better way to set these options than
> editing the Makefile".  What is the "best common practice" to set
> these options?
> 
> -- 
> Soren Harward
> soren@byu.edu
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 


-- 
FreeBSD System Administrator
http://manhattan.hq.dyns.cx/

-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1036098993.3dc19db17f2a7>