From owner-freebsd-ports Thu Oct 5 06:33:32 1995 Return-Path: owner-ports Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id GAA08335 for ports-outgoing; Thu, 5 Oct 1995 06:33:32 -0700 Received: from veda.is (root@veda.is [193.4.230.1]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id GAA08330 for ; Thu, 5 Oct 1995 06:33:28 -0700 Received: (from adam@localhost) by veda.is (8.6.12/8.6.12) id NAA26157; Thu, 5 Oct 1995 13:33:06 GMT From: Adam David Message-Id: <199510051333.NAA26157@veda.is> Subject: Re: nntp dependency To: asami@cs.berkeley.edu (Satoshi Asami) Date: Thu, 5 Oct 1995 13:32:59 +0000 (GMT) Cc: ports@freebsd.org In-Reply-To: <199510051103.EAA01864@silvia.HIP.Berkeley.EDU> from "Satoshi Asami" at Oct 5, 95 04:03:11 am X-Mailer: ELM [version 2.4 PL24 ME8a] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 774 Sender: owner-ports@freebsd.org Precedence: bulk > BUILD_DEPENDS= ${PREFIX}/libexec/news/ctime:${PORTSDIR}/news/cnews Was ctime chosen as a random executable belonging to cnews? Wouldn't it be better to depend on ${PREFIX}/lib/libcnews.a and ${PREFIX}/include/dbz.h although they are not executable? Is there any reason why BUILD_DEPENDS should not also be used for static libraries and library header files needed during the build? What is a suitable way of depending on both the library and the header file without causing the depended port to be made twice? Is there an accepted convention for substituting variables such as ${PREFIX} into patchfiles? This port currently has /usr/local hardcoded at a deeper level, and I suspect there are other ports that suffer from the same problem. -- Adam David