Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Feb 2002 02:49:43 +0000 (GMT)
From:      =?iso-8859-1?q?Matt=20Sykes?= <mattmsykes@yahoo.co.uk>
To:        ports@freebsd.org
Subject:   variables not passed to sub-makes
Message-ID:  <20020220024943.12089.qmail@web21009.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help

in the base makefile for my port,

MAKE_ENV = CFLAGS="${CFLAGS} -DMY_VARIABLE"

but -DMY_VARIABLE does not show up in the building process.
I just see my CFLAGS from make.conf.  make -V MAKE_ENV
looks correct.

what am I doing wrong?

I discovered MAKE_ENV after doing

CFLAGS += -DMY_VARIABLE

which wasn't passed to sub-makes either.  It should be, considering
many ports try this.

find /usr/ports -name Makefile -exec grep -l '^CFLAGS' \{} \;

--Matt


__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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