Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Feb 2005 08:18:59 -0800
From:      Vonleigh Simmons <nospam@illusionart.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Ports
Message-ID:  <4C632B5B-7F6D-11D9-B357-000D93C7878E@illusionart.com>
In-Reply-To: <20050214182945.BC64A16A4F0@hub.freebsd.org>
References:  <20050214182945.BC64A16A4F0@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
>> Could you please give some detail about setting options for
>> individual ports in make.conf?  Maybe I missed something in 'man
>> make.conf' or 'man ports' but everything seems to refer to global
>> options.  The only example I've found is in man portmanager, but I'm
>> still a little unsure about the how to do it properly.
>>
> This example from portmanager's manual is how to do it in make.conf:
>
>       .if ${.CURDIR:M*/local/sysutils/portmanager}
>       PREFIX=/home/mike/TEMP
>       .endif
>       #
>       .if ${.CURDIR:M*/multimedia/mplayer}
>       WITH_OPTIMIZED_CFLAGS=yes WITHOUT_RUNTIME_CPUDETECTION=yes \
>       WITH_GTK1=yes WITH_RTC=yes WITH_LIBUNGIF=yes WITH_ARTS=yes \
>       WITH_FRIBIDI=yes WITH_CDPARANOIA=yes WITH_LIBDV=yes        \
>       WITH_MAD=yes WITH_SVGALIB=yes WITH_AALIB=yes WITH_THEORA=yes    \
>       WITH_SDL=yes WITH_ESOUND=yes WITH_VORBIS=yes WITH_XANIM=yes     \
>       WITH_LIVEMEDIA=yes WITH_MATROSKA=yes WITH_XVID=yes WITH_LZO=yes \
>       WITH_XMMS=yes WITH_LANG=en
>       .endif

	Just wanted to point this out because this is really good info. I had 
been looking for a while how to define additional make parameters for 
specific applications in make.conf, since every time I updated I had to 
recompile some programs by hand to put in the additional options I 
needed (-DMAKE_WITH... etc).

	Thanks a lot.


Vonleigh Simmons
<http://illusionart.com/>;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C632B5B-7F6D-11D9-B357-000D93C7878E>