How can I compile with port's object file(*.o) with a ports.

Choe, Cheng-Dae whitekid at gmail.com
Mon Oct 25 22:29:43 PDT 2004


Thanks Eric. 

It works good!


On Sat, 23 Oct 2004 19:36:58 +0200, Erik Trulsson
<ertr1013 at student.uu.se> wrote:
> 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
> 


-- 
Choe, Cheng-Dae(최정대)
Blog: http://www.comdongin.com/


More information about the freebsd-ports mailing list