How can I compile with port's object file(*.o) with a ports.
Erik Trulsson
ertr1013 at student.uu.se
Sat Oct 23 10:37:03 PDT 2004
On Sun, Oct 24, 2004 at 12:47:49AM +0900, Choe, Cheng-Dae wrote:
> Hi all.
>
> I writing a new ports. The problem is new ports requires other ports
> object files(*.o) not a library.
>
> so I write ports Makefiles as below..
>
> ---------
> GNU_CONFIGURE= yes
>
> CONFIGURE_ARGS= --with-ncbi=${PORTSDIR}/biology/ncbi-toolkit/work/ncbi
>
> pre-build:
> cd ${PORTSDIR}/biology/ncbi-toolkit && make
> ---------
>
> But I think it's not a correct solution?
> any suggesstions?
The standard trick for handling such a situation is to add a
build-dependency like this:
BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/biology/ncbi-toolkit:build
--
<Insert your favourite quote here.>
Erik Trulsson
ertr1013 at student.uu.se
More information about the freebsd-ports
mailing list