From owner-freebsd-ports Tue Aug 19 06:33:09 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id GAA05464 for ports-outgoing; Tue, 19 Aug 1997 06:33:09 -0700 (PDT) Received: from pulp.nildram.co.uk (root@pulp.nildram.co.uk [195.112.4.8]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id GAA05457 for ; Tue, 19 Aug 1997 06:33:06 -0700 (PDT) Received: (from uucp@localhost) by pulp.nildram.co.uk (8.7.5/8.7.3) with UUCP id NAA01916; Tue, 19 Aug 1997 13:19:31 GMT Received: from fr71652793 (FR71652793 [10.0.0.5]) by mail.nemko.ltd.uk (8.8.6/8.8.6) with ESMTP id OAA09132; Tue, 19 Aug 1997 14:21:31 +0100 (BST) Message-ID: <33F99D52.F181B3D9@nemko.ltd.uk> Date: Tue, 19 Aug 1997 14:19:14 +0100 From: Ian Vaudrey Reply-To: i.vaudrey@cableinet.co.uk Organization: Nemko Ltd X-Mailer: Mozilla 4.01 [en] (Win95; I) MIME-Version: 1.0 To: Satoshi Asami CC: ports@FreeBSD.ORG Subject: Re: Is X installed? X-Priority: 3 (Normal) References: <199708190638.XAA02062@silvia.HIP.Berkeley.EDU> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Satoshi Asami wrote: > > * However, I've since decided that it might be better to have a separate > * port for makedepend, the Cyrus port would then just require a > * BUILD_DEPENDS line, I think. I have put together a port and it's at > : > * Have I gone in the right general direction? > > Yes. By the way, do you know that FreeBSD comes with /usr/bin/mkdep? > It may be easier to just modify the port to use it instead. > > Satoshi I think that would take a lot of work. The makedepend lines in the Cyrus makefiles all end *.c and so check all the source files in their directory for dependencies, even if they are only conditionally included in the build. For example there are two password checking routines in separate source files, one for SVR4 type systems and one for BSD type systems. Regardless of the fact that only one of these will/can be compiled on any given system, makedepend parses both. This results in warning messages from makedepend, which is not nice to look at but is just about acceptable. Unfortunately these translate into fatal errors when mkdep is substituted in. I'll submit the port as is. Many thanks for your input. - Ian