Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Apr 2003 19:58:43 -0400
From:      "E. J. Cerejo" <edinho64@netscape.net>
To:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Portupgrade and pkgtools.conf file
Message-ID:  <3EAF11B3.3070406@netscape.net>

next in thread | raw e-mail | index | archive | help
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?



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