From owner-freebsd-ports Tue Oct 1 14:24:24 2002 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 8EFA637B401; Tue, 1 Oct 2002 14:24:22 -0700 (PDT) Received: from motgate.mot.com (motgate.mot.com [129.188.136.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9049B43E6E; Tue, 1 Oct 2002 14:24:21 -0700 (PDT) (envelope-from rittle@latour.rsch.comm.mot.com) Received: [from pobox.mot.com (pobox.mot.com [129.188.137.100]) by motgate.mot.com (motgate 2.1) with ESMTP id OAA10453; Tue, 1 Oct 2002 14:24:20 -0700 (MST)] Received: [from latour.rsch.comm.mot.com (latour.rsch.comm.mot.com [145.1.80.116]) by pobox.mot.com (MOT-pobox 2.0) with ESMTP id OAA09128; Tue, 1 Oct 2002 14:24:20 -0700 (MST)] Received: from latour.rsch.comm.mot.com (localhost.rsch.comm.mot.com [127.0.0.1]) by latour.rsch.comm.mot.com (8.12.3/8.12.3) with ESMTP id g91LOBag064366; Tue, 1 Oct 2002 16:24:11 -0500 (CDT) (envelope-from rittle@latour.rsch.comm.mot.com) Received: (from rittle@localhost) by latour.rsch.comm.mot.com (8.12.3/8.12.3/Submit) id g91LOBWf064363; Tue, 1 Oct 2002 16:24:11 -0500 (CDT) Date: Tue, 1 Oct 2002 16:24:11 -0500 (CDT) From: Loren James Rittle Message-Id: <200210012124.g91LOBWf064363@latour.rsch.comm.mot.com> To: ports@freebsd.org, sobomax@freebsd.org, mharo@freebsd.org In-reply-to: <200210012049.g91KnokX058308@latour.rsch.comm.mot.com> (message from Loren James Rittle on Tue, 1 Oct 2002 15:49:50 -0500 (CDT)) Subject: Re: FreeBSD Port: freetype2-2.1.2 Reply-To: rittle@labs.mot.com References: <200210012049.g91KnokX058308@latour.rsch.comm.mot.com> User-Agent: SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) Emacs/20.5 (i386-unknown-freebsdelf3.2) MULE/4.0 (HANANOEN) MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Content-Type: text/plain; charset=US-ASCII 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 article <200210012049.g91KnokX058308@latour.rsch.comm.mot.com>, Loren James Rittle writes: >> > Make went fine, then I did make install and this is what happened. >> > ; do \ >> > install -c -o root -g wheel -m 444 $P >> > /usr/local/include/freetype2/freetype ; \ >> > done >> > "Makefile", line 26: Need an operator >> > "Makefile", line 28: Need an operator >> > "./builds/toplevel.mk", line 46: Need an operator >> > "./builds/toplevel.mk", line 48: Need an operator >> > "./builds/toplevel.mk", line 59: Missing dependency operator >> > "./builds/toplevel.mk", line 61: Need an operator > I have debugged this situation without creating a full patch. > When dot is before /usr/bin on PATH then you see the above behavior. > The reason is that a shell script called install exists in the > top-level of the working tree. OK, another point about this situation debugged. Of course, I'm not dumb enough to have dot on root's PATH. (I'm only dumb enough to have had it on user PATH. ;-) When I su to root, I explicitly rebuild my PATH to remove dot. However, last week, I started using portupgrade instead of manually maintaining installed ports. As a normal user, I now use: portupgrade -s [...] When I sudo to root, I still see dot on PATH if it was on user PATH. Humm, this sudo was built from ports and I see that it was suppose to: --with-ignore-dot However, that option only appears to control how sudo itself will find targets without influencing the child: S rittle@latour; cat a b #!/bin/sh echo hello #!/bin/sh a S rittle@latour; sudo a sudo: ignoring `a' found in '.' Use `sudo ./a' if this is the `a' you wish to run. S rittle@latour; sudo b sudo: ignoring `b' found in '.' Use `sudo ./b' if this is the `b' you wish to run. S rittle@latour; sudo ./b hello Regards, Loren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message