Date: 25 Apr 2003 18:16:02 -0400 From: "E. J. Cerejo" <ecerejo@myrealbox.com> To: freebsd-questions@freebsd.org Subject: How to specify "make" arguments in pkgtools.conf Message-ID: <1051308962.33338.8.camel@ecerejo.Belkin>
next in thread | raw e-mail | index | archive | help
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?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1051308962.33338.8.camel>