From owner-freebsd-questions@FreeBSD.ORG Wed Aug 18 15:18:11 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3324916A4CF for ; Wed, 18 Aug 2004 15:18:11 +0000 (GMT) Received: from dc.cis.okstate.edu (dc.cis.okstate.edu [139.78.100.219]) by mx1.FreeBSD.org (Postfix) with ESMTP id C3A0543D46 for ; Wed, 18 Aug 2004 15:18:10 +0000 (GMT) (envelope-from martin@dc.cis.okstate.edu) Received: from dc.cis.okstate.edu (localhost.cis.okstate.edu [127.0.0.1]) by dc.cis.okstate.edu (8.12.6/8.12.6) with ESMTP id i7IFIATj000995 for ; Wed, 18 Aug 2004 10:18:10 -0500 (CDT) (envelope-from martin@dc.cis.okstate.edu) Message-Id: <200408181518.i7IFIATj000995@dc.cis.okstate.edu> To: freebsd-questions@freebsd.org Date: Wed, 18 Aug 2004 10:18:10 -0500 From: Martin McCormick Subject: Defining Make Variables from the Command Line X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Aug 2004 15:18:11 -0000 What is the correct command line syntax for "defining" a variable to the Makefile? The expect port will make either with or without X11 support. I want it without X11 and there is an ifdefine WITHOUT_X11 test in the Makefile. My only problem is I remember that it can be done, but I don't remember the exact syntax. Sometimes, if you get those wrong, make still works but you get the build you didn't want. Thank you. Martin McCormick WB5AGZ Stillwater, OK OSU Information Technology Division Network Operations Group