Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Oct 1995 13:32:59 +0000 (GMT)
From:      Adam David <adam@veda.is>
To:        asami@cs.berkeley.edu (Satoshi Asami)
Cc:        ports@freebsd.org
Subject:   Re: nntp dependency
Message-ID:  <199510051333.NAA26157@veda.is>
In-Reply-To: <199510051103.EAA01864@silvia.HIP.Berkeley.EDU> from "Satoshi Asami" at Oct 5, 95 04:03:11 am

next in thread | previous in thread | raw e-mail | index | archive | help
> 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 <adam@veda.is>



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