How to specify "make" arguments in pkgtools.conf
E. J. Cerejo
ecerejo at myrealbox.com
Fri Apr 25 15:16:10 PDT 2003
I'm trying to specify a bunch of make arguments in
/usr/local/etc/pkgtools.conf, I've tried this:
MAKE_ARGS = {
'mail/evolution' => '-DWITHOUT_PILOT'
'multimedia/mplayer' => 'WITH_OPTIMIZED_CFLAGS=yes'
'multimedia/mplayer' => 'WITHOUT_RUNTIME_CPUDETECTION=yes'
'multimedia/mplayer' => 'WITH_GUI=yes'
'multimedia/mplayer' => 'WITH_FREETYPE=yes'
'multimedia/mplayer' => 'WITH_DVD=yes'
'multimedia/mplayer' => 'WITH_LIBDVDREAD=yes'
'multimedia/mplayer' => 'WITH_LIBDVDNAV=yes'
'multimedia/mplayer' => 'WITH_ARTS=yes'
'multimedia/mplayer' => 'WITH_LIBDV=yes'
'multimedia/mplayer' => 'WITH_MAD=yes'
'multimedia/mplayer' => 'WITH_SVGALIB=yes'
'multimedia/mplayer' => 'WITH_AALIB=yes'
'multimedia/mplayer' => 'WITH_SDL=yes'
'multimedia/mplayer' => 'WITH_ESOUND=yes'
'multimedia/mplayer' => 'WITH_VORBIS=yes'
'multimedia/mplayer' => 'WITH_XANIM=yes'
'multimedia/mplayer' => 'WITH_LIVEMEDIA=yes'
'multimedia/mplayer' => 'WITH_XVID=yes'
'multimedia/mplayer' => 'WITH_FAAD=yes'
}
and also I've tried putting them all on the same line like this:
'multimedia/mplayer' => 'WITH_AALIB=yes' 'WITH_SDL=yes' 'etc etc etc'
I also tried without "=yes" and I get the same error all the time:
** Error occured reading /usr/local/etc/pkgtools.conf:
/usr/local/etc/pkgtools.conf:310: parse error
'multimedia/mplayer' => 'WITH_OPTIMIZED_CFLAGS=yes'
^
/usr/local/etc/pkgtools.conf:311: parse error
'multimedia/mplayer' =>
'WITHOUT_RUNTIME_CPUDETECTION=yes'
^
/usr/local/etc/pkgtools.conf:312: parse error
'multimedia/mplayer' => 'WITH_GUI=yes'
How are you suppose to specify multiple arguments for mplayer in
pkgtools.conf?
More information about the freebsd-questions
mailing list