Portupgrade and pkgtools.conf file

E. J. Cerejo edinho64 at netscape.net
Tue Apr 29 16:58:52 PDT 2003


I'm trying to tell portupgrade to install mplayer with these options:

'multimedia/mplayer'    => 'WITH_OPTIMIZED_CFLAGS', 'multimedia/mplayer' 
    => 'WITHOUT_RUNTIME_CPUDETECTION', 'multimedia/mplayer'    => 
'WITH_GUI',  'multimedia/mplayer'    => 'WITH_FREETYPE', 
'multimedia/mplayer'    => 'WITH_DVD=', 'multimedia/mplayer'    => 
'WITH_LIBDVDREAD', 'multimedia/mplayer'    => 'WITH_LIBDVDNAV', 
'multimedia/mplayer'    => 'WITH_ARTS', 'multimedia/mplayer'    => 
'WITH_LIBDV', 'multimedia/mplayer'    => 'WITH_MAD', 
'multimedia/mplayer'    => 'WITH_SVGALIB', 'multimedia/mplayer'    => 
'WITH_AALIB', 'multimedia/mplayer'    => 'WITH_SDL', 
'multimedia/mplayer'    => 'WITH_ESOUND', 'multimedia/mplayer'    => 
'WITH_VORBIS','multimedia/mplayer'    => 'WITH_XANIM', 
'multimedia/mplayer'    => 'WITH_LIVEMEDIA', 'multimedia/mplayer'    => 
'WITH_XVID', 'multimedia/mplayer'    => 'WITH_FAAD'

I got them all on the same line separated by commons under make args, 
and portupgrade gives me this:

** Error occured reading /usr/local/etc/pkgtools.conf:
         /usr/local/etc/pkgtools.conf:299: parse error
         'multimedia/mplayer'    => 'WITHOUT_RUNTIME_CPUDETECTION', 
'multimedia/mplayer'    => 'WITH_GUI',  'multimedia/mplayer'    => 
'WITH_FREETYPE', 'multimedia/mplayer'    => 'WITH_DVD=', 
'multimedia/mplayer'    => 'WITH_LIBDVDREAD', 'multimedia/mplayer'    => 
'WITH_LIBDVDNAV', 'multimedia/mplayer'    => 'WITH_ARTS', 
'multimedia/mplayer'    => 'WITH_LIBDV', 'multimedia/mplayer'    => 
'WITH_MAD', 'multimedia/mplayer'    => 'WITH_SVGALIB', 
'multimedia/mplayer'    => 'WITH_AALIB', 'multimedia/mplayer'    => 
'WITH_SDL', 'multimedia/mplayer'    => 'WITH_ESOUND', 
'multimedia/mplayer'    => 'WITH_VORBIS','multimedia/mplayer'    => 
'WITH_XANIM',  'multimedia/mplayer'    => 'WITH_LIVEMEDIA', 
'multimedia/mplayer'    => 'WITH_XVID', 'multimedia/mplayer'    => 
'WITH_FAAD'

I've tried without the commons but still doesn't work, I added the 
"=yes" in each argument but still the same error, does anyone know the 
correct format for this?



More information about the freebsd-questions mailing list