Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 May 2005 15:31:02 -0400
From:      Nicolas Blais <nb_root@videotron.ca>
To:        freebsd-questions@freebsd.org
Subject:   /etc/make.conf weirdness
Message-ID:  <200505191531.02487.nb_root@videotron.ca>

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

Nicolas.

FreeBSD clk01a 6.0-CURRENT FreeBSD 6.0-CURRENT #0: Thu May 19 09:13:03 EDT 
2005     root@clk01a:/usr/obj/usr/src/sys/CLK01A  i386



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