From owner-freebsd-ports Tue Feb 19 18:49:45 2002 Delivered-To: freebsd-ports@freebsd.org Received: from web21009.mail.yahoo.com (web21009.mail.yahoo.com [216.136.227.63]) by hub.freebsd.org (Postfix) with SMTP id A908437B404 for ; Tue, 19 Feb 2002 18:49:43 -0800 (PST) Message-ID: <20020220024943.12089.qmail@web21009.mail.yahoo.com> Received: from [66.3.230.240] by web21009.mail.yahoo.com via HTTP; Wed, 20 Feb 2002 02:49:43 GMT Date: Wed, 20 Feb 2002 02:49:43 +0000 (GMT) From: =?iso-8859-1?q?Matt=20Sykes?= Subject: variables not passed to sub-makes To: ports@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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