Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Dec 1999 16:28:48 +0100 (CET)
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        current@freebsd.org
Subject:   /usr/bin/lint broken (with patch) and more (pkg_version)
Message-ID:  <199912251528.QAA99385@Magelan.Leidinger.net>

next in thread | raw e-mail | index | archive | help
--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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199912251528.QAA99385>