/etc/make.conf weirdness

Kris Kennaway kris at obsecurity.org
Fri May 20 09:50:47 PDT 2005


On Fri, May 20, 2005 at 03:13:08PM +0100, RW wrote:
> On Thursday 19 May 2005 20:51, Kris Kennaway wrote:
> > On Thu, May 19, 2005 at 03:31:02PM -0400, Nicolas Blais wrote:
> > > Hi,
> > >
> > > This is probably a user problem (me), but why is it that when I put this
> > > in /etc/make.conf:
> > >
> > > .if ${.CURDIR:M*/multimedia/transcode}
> > >   WITH_DIVX5=yes WITH_OPTIMIZED_CFLAGS=yes
> > > .endif
> > >
> > > and build transcode, it will only receive WITH_DIVX5 and not the other
> > > flag.
> > >
> > > and if I put this instead:
> > >
> > > .if ${.CURDIR:M*/multimedia/transcode}
> > >   WITH_OPTIMIZED_CFLAGS=yes WITH_DIVX5=yes
> > > .endif
> > >
> > > it will receive WITH_OPTIMIZED_CFLAGS and not the other again?
> > >
> > > Same with all the ports such as :
> > >
> > > .if ${.CURDIR:M*/multimedia/mplayer}
> > >   WITH_OPTIMIZED_CFLAGS=yes WITHOUT_RUNTIME_CPUDETECTION \
> > >   WITH_RTC=yes WITH_LIBUNGIF=yes WITH_ARTS=yes \
> > >   WITH_FRIBIDI=yes WITH_CDPARANOIA=yes WITH_LIBDV=yes        \
> > >   WITH_MAD=yes WITH_SVGALIB=yes WITH_AALIB=yes WITH_THEORA=yes    \
> > >   WITH_SDL=yes WITH_ESOUND=yes WITH_VORBIS=yes WITH_XANIM=yes     \
> > >   WITH_LIVEMEDIA=yes WITH_MATROSKA=yes WITH_XVID=yes WITH_LZO=yes \
> > >   WITH_XMMS=yes
> > > .endif
> > >
> > > will only receive WITH OPTIMIZED_CFLAGS.
> > >
> > > Any way around this?
> >
> > Put each entry on separate lines, don't try to separate them with
> > whitespace.
> 
> I think this was probably inspired by  the portmanager man-page. The mplayer 
> section above is a slightly edited version of it's sample make.conf.

Someone should talk to the portmanager author then :-)

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050520/19079578/attachment.bin


More information about the freebsd-questions mailing list