From owner-freebsd-current Sat Dec 25 7:35: 9 1999 Delivered-To: freebsd-current@freebsd.org Received: from indyio.rz.uni-sb.de (indyio.rz.uni-sb.de [134.96.7.3]) by hub.freebsd.org (Postfix) with ESMTP id 679AA14FAF for ; Sat, 25 Dec 1999 07:35:03 -0800 (PST) (envelope-from netchild@Leidinger.net) Received: from mars.rz.uni-sb.de (ns0.rz.uni-sb.de [134.96.7.5]) by indyio.rz.uni-sb.de (8.9.3/8.9.3) with ESMTP id QAA13039080 for ; Sat, 25 Dec 1999 16:34:57 +0100 (CET) Received: from Magelan.Leidinger.net (maxtnt-082.telip.uni-sb.de [134.96.70.209]) by mars.rz.uni-sb.de (8.8.8/8.8.4/8.8.2) with ESMTP id QAA24956 for ; Sat, 25 Dec 1999 16:34:56 +0100 (CET) Received: from Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.9.3/8.9.3) with ESMTP id QAA99385 for ; Sat, 25 Dec 1999 16:28:50 +0100 (CET) (envelope-from netchild@Leidinger.net) Message-Id: <199912251528.QAA99385@Magelan.Leidinger.net> Date: Sat, 25 Dec 1999 16:28:48 +0100 (CET) From: Alexander Leidinger Subject: /usr/bin/lint broken (with patch) and more (pkg_version) To: current@freebsd.org MIME-Version: 1.0 Content-Type: MULTIPART/mixed; BOUNDARY="0-1804289383-946135732=:99382" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --0-1804289383-946135732=:99382 Content-Type: TEXT/plain; charset=us-ascii Hi, lint: ---snip--- (156) netchild@ttyp2 > lint /usr/src/usr.bin/xlint/xlint/xlint.c xlint.c: cpp: Invalid option `-undef' (157) netchild@ttyp2 > which lint /usr/bin/lint (158) netchild@ttyp2 > gcc -v Using builtin specs. gcc version 2.95.2 19991024 (release) ---snip--- Patch attached. "pkg_version -c": ---snip--- # # apache-php3 # unknown in index # cd /usr/ports/print/afm make && pkg_delete -f apache-php3-1.3.6 make install ---snip--- Have a look at the "cd" line. Here's the reason why it cd's to print/afm: ---snip--- (164) netchild@ttyp2 > pkg_info -aI |grep -1 apache afm-1.0 Adobe Font Metrics. apache-php3-1.3.6 Apache http server with [...] ---snip--- Bye, Alexander. -- Speed kills. Slow infuriates. http://netchild.home.pages.de Alexander+Home @ Leidinger.net Key fingerprint = 7423 F3E6 3A7E B334 A9CC B10A 1F5F 130A A638 6E7E --0-1804289383-946135732=:99382 Content-Type: TEXT/plain; CHARSET=US-ASCII Content-Description: xlint.diff --- usr.bin/xlint/xlint/xlint.c_org Sat Dec 25 16:22:27 1999 +++ usr.bin/xlint/xlint/xlint.c Sat Dec 25 16:22:44 1999 @@ -321,7 +321,6 @@ libsrchpath = xcalloc(1, sizeof (char *)); appcstrg(&cppflags, "-lang-c"); - appcstrg(&cppflags, "-undef"); appcstrg(&cppflags, "-$"); appcstrg(&cppflags, "-C"); appcstrg(&cppflags, "-Wcomment"); --0-1804289383-946135732=:99382-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message