Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Oct 2004 19:36:58 +0200
From:      Erik Trulsson <ertr1013@student.uu.se>
To:        "Choe, Cheng-Dae" <whitekid@gmail.com>
Cc:        freebsd-ports@FreeBSD.org
Subject:   Re: How can I compile with port's object file(*.o) with a ports.
Message-ID:  <20041023173657.GA74714@falcon.midgard.homeip.net>
In-Reply-To: <38c00bae0410230847b565de4@mail.gmail.com>
References:  <38c00bae0410230847b565de4@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@student.uu.se



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