From owner-freebsd-questions@FreeBSD.ORG Wed Aug 18 15:41:36 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 52A4616A4CE for ; Wed, 18 Aug 2004 15:41:36 +0000 (GMT) Received: from 244.205.181.62.in-addr.dgcsystems.net (244.205.181.62.in-addr.dgcsystems.net [62.181.205.244]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C23243D48 for ; Wed, 18 Aug 2004 15:41:35 +0000 (GMT) (envelope-from eae@eae.net) Received: (qmail 94407 invoked by uid 1004); 18 Aug 2004 15:41:21 -0000 Received: from eae@eae.net by simbanew.eae.net by uid 89 with qmail-scanner-1.22 (clamscan: 0.71. spamassassin: 2.63. Clear:RC:1(193.13.246.198):. Processed in 5.027208 secs); 18 Aug 2004 15:41:21 -0000 Received: from unknown (HELO emiekl) (193.13.246.198) SMTP; 18 Aug 2004 15:41:15 -0000 Message-ID: <089d01c48539$d348a500$0100a8c0@internal.basset.se> From: "Emil A Eklund" To: , "Martin McCormick" References: <200408181518.i7IFIATj000995@dc.cis.okstate.edu> Date: Wed, 18 Aug 2004 17:41:09 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Subject: Re: 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:41:36 -0000 Use the -D switch, for instance make -DWITHOUT_X11 install clean or set it to a specific value (which in effect will also define it) make WITHOUT_X11=1 install clean /Emil A Eklund (emil@eae.net) ----- Original Message ----- From: "Martin McCormick" To: Sent: Wednesday, August 18, 2004 17:18 Subject: Defining Make Variables from the Command Line > 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 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >