From owner-freebsd-ports@FreeBSD.ORG Sun Feb 1 14:44:52 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0497D16A4CE; Sun, 1 Feb 2004 14:44:52 -0800 (PST) Received: from hotmail.com (law10-f120.law10.hotmail.com [64.4.15.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF97F43D1D; Sun, 1 Feb 2004 14:44:50 -0800 (PST) (envelope-from weaseal@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 1 Feb 2004 14:44:50 -0800 Received: from 130.85.245.34 by lw10fd.law10.hotmail.msn.com with HTTP; Sun, 01 Feb 2004 22:44:50 GMT X-Originating-IP: [130.85.245.34] X-Originating-Email: [weaseal@hotmail.com] X-Sender: weaseal@hotmail.com From: "Walter Venable" To: parv@pair.com, freebsd-ports@freebsd.org, freebsd-stable@freebsd.org Date: Sun, 01 Feb 2004 17:44:50 -0500 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 01 Feb 2004 22:44:50.0526 (UTC) FILETIME=[004EDFE0:01C3E915] Subject: Re: "make -C ..." causes error in net/tkabber/Makefile, line 17 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Feb 2004 22:44:52 -0000 I have no idea if this would help, just a total guess, but it can't hurt to try -- try making with 'gmake' ? >From: parv >To: f-ports ,f-stable > >Subject: Re: "make -C ..." causes error in net/tkabber/Makefile, line 17 >Date: Sun, 1 Feb 2004 17:01:42 -0500 > >in message <20040201213549.GA93666@moo.holy.cow>, >wrote parv thusly... > > > > I am running FreeBSD 4.8-p14; and the make(1) man page lists -C > > option... > > > > -C directory > > Change to directory while running. > > > > > > ...However, "make -V PORTVERSION" in net/tkabber" produces this... > > > > make: illegal option -- C > > usage: make [-Beiknqrstv] [-D variable] [-d flags] [-E variable] [-f >makefile] > > [-I directory] [-j max_jobs] [-m directory] [-V variable] > > [variable=value] [target ...] >... > >On the second thought, could it be that man page & binary are out of >sync for some reason? It is hard to believe though as -C option >parsing appears in src/usr.bin/make/main.c, line 185... > > 178 #ifdef REMOTE > 179 # define OPTFLAGS "BD:E:I:L:PSV:Xd:ef:ij:km:nqrstv" > 180 #else > 181 # define OPTFLAGS "BD:E:I:PSV:Xd:ef:ij:km:nqrstv" > 182 #endif > 183 rearg: while((c = getopt(argc, argv, OPTFLAGS)) != -1) { > 184 switch(c) { > 185 case 'C': > 186 if (chdir(optarg) == -1) > 187 err(1, "chdir %s", optarg); > 188 break; > > >...but is omitted from OPTFLAGS (lines 179 & 181). Is that the reason >of make carping when presented w/ -C option? > > > - Parv > >-- > >_______________________________________________ >freebsd-ports@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-ports >To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" _________________________________________________________________ What are the 5 hot job markets for 2004? Click here to find out. http://msn.careerbuilder.com/Custom/MSN/CareerAdvice/WPI_WhereWillWeFindJobsIn2004.htm?siteid=CBMSN3006&sc_extcmp=JS_wi08_dec03_hotmail1