Portupgrade and pkgtools.conf file
Drew Tomlinson
drew at mykitchentable.net
Wed Apr 30 12:09:15 PDT 2003
----- Original Message -----
From: "E. J. Cerejo" <edinho64 at netscape.net>
To: <ajacoutot at lphp.org>
Cc: "E. J. Cerejo" <ej.cerejo at laposte.net>; "freebsd-questions"
<freebsd-questions at freebsd.org>
Sent: Wednesday, April 30, 2003 7:55 AM
Subject: Re: Portupgrade and pkgtools.conf file
>
>
> ajacoutot at lphp.org wrote:
> > Selon "E. J. Cerejo" <ej.cerejo at laposte.net>:
> >
> >>It doesn't work either:
> >>** Error occured reading /usr/local/etc/pkgtools.conf:
> >> /usr/local/etc/pkgtools.conf:299: parse error
> >> 'multimedia/mplayer' => '-DWITH_OPTIMIZED_CFLAGS
> >>-DWITHOUT_RUNTIME_CPUDETECTION -DWITH_GUI -DWITH_FREETYPE -DWITH_DVD
> >>-DWITH_LIBDVDREAD -DWITH_LIBDVDNAV -DWITH_ARTS -DWITH_LIBDV -DWITH_MAD
> >>-DWITH_SVGALIB -DWITH_AALIB -DWITH_SDL -DWITH_ESOUND -DWITH_VORBIS
> >>-DWITH_XANIM -DWITH_LIVEMEDIA -DWITH_XVID -DWITH_FAAD'
> >
> >
> > Well, mine is looking like this and works great:
> >
> > MAKE_ARGS = {
> > 'x11-toolkits/qt31' => 'WITHOUT_OPENGL=yes WITH_XINERAMA=yes
> > WITHOUT_CUPS=yes',
> > 'x11/kdelibs3' => 'WITH_XINERAMA=yes',
> > 'x11/kdebase3' => 'WITH_MOTIF=yes',
> > 'multimedia/avidemux' => 'WITH_XVID=yes WITH_A52=yes',
> > 'multimedia/avifile' => 'WITH_OPTIMIZED_CFLAGS=yes
> > WITH_AC3_PASSTHROUGH=yes ',
> > 'www/mozilla*' => 'WITHOUT_CHATZILLA=yes WITHOUT_LDAP=yes
> > WITHOUT_COMPOSER=yes WITHOUT_MAILNEWS=yes',
> > 'multimedia/mplayer' => 'WITH_OPTIMIZED_CFLAGS=yes
> > WITHOUT_RUNTIME_CPUDETECTION=yes WITH_FREETYPE=yes WITH_GUI=yes
> > WITH_VORBIS=yes WITH_ARTS=yes WITH_XANIM=yes WITH_R
> > EALPLAYER=yes WITH_LIVEMEDIA=yes WITH_XVID=yes WITH_FAAD=yes',
> > 'multimedia/ogle' => 'WITH_DVD_DEVICE="/dev/cd0c"
> > WITH_OPTIMIZED_BYTESWAP=yes',
> > 'multimedia/okle' => 'WITH_DVD_DEVICE="/dev/cd0c"',
> > 'audio/liba52' => 'WITH_OPTIMIZED_CFLAGS=yes',
> > 'math/djbfft' => 'WITH_OPT_PPRO=yes',
> > 'editors/openoffice' => 'USE_GCC=3.2',
> > 'graphics/kdegraphics3' => 'WITH_IMLIB=yes WITH_GPHOTO2=yes
> > WITH_SANE=yes',
> > 'multimedia/kdemultimedia3' => 'WITH_MIDI=yes WITHOUT_XINE=yes',
> > 'misc/kdeutils3' => 'WITHOUT_KLAPTOP=yes',
> > 'textproc/aspell*' => 'ASPELL_EN=yes ASPELL_FR=yes',
> > 'print/ghostscript-gnu*' => 'A4=yes',
> > 'audio/mpg123' => 'WITH_ICONV=yes OPT_ARCH=i586',
> > 'graphics/transcode' => 'WITH_OPTIMIZED_CFLAGS=yes WITH_NASM=yes
> > WITH_FFMPEG=yes WITH_OPENQUICKTIME=yes WITH_XVID=yes WITH_OGG=yes
> > WITH_IMAGEMAGICK=yes WITH_LIBA52=ye
> > s WITH_SUBRIP=yes WITH_SDL=yes WITH_LAME=yes',
> > 'devel/sdl12' => 'WITH_ARTS=yes'
> > }
>
> I got it, I was missing the common between ports. I knew it had to be
> something simple.
And for yet one more way of doing it, I use this format as I find it easily
readable:
MAKE_ARGS = {
'multimedia/mplayer' => 'WITHOUT_RUNTIME_CPUDETECTION=YES
WITH_OPTIMIZED_CFLAGS=YES
WITH_GUI=YES
WITH_FREETYPE=YES'
}
Cheers,
Drew
More information about the freebsd-questions
mailing list