Ports

Vonleigh Simmons nospam at illusionart.com
Tue Feb 15 16:19:10 GMT 2005


>> 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/>



More information about the freebsd-questions mailing list