Dependency problem in packaging

Hi, I have a source tarball and I want to make a package from it. As it written I moved it in /usr/ports/distfiles and then I had the Makefile for FreeBSD port and then the standard procedure as;
Code:
make install
make package
and I had the package.
in the Makefile I have a dependency boost as
Code:
BUILD_DEPENDS=  bjam:${PORTSDIR}/devel/boost-jam \
                ${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost-libs
When I make install, it automatically fetched and installed boost. And then I maked the package.
But when I install the package on another machine, it installs everything fine but it does not install the dependency?
The problem is when I installed is with make install it installs the dependency but when I install it as package it doesn't install it. What is the problem?
 
Hi SirDice,
I added the RUN_DEPENDs:=BUILD_DEPENS

It is good so this time when I want to add package with pkg_add(1) it gives me the warning
Code:
pkg_add: could not find package boost-jam-1.45.0 !
It is good. But is there a advanced method to automatically install the port?
I want is gives me warning and continues do install port.
I tried FETCH_DEPENDS but not working.
 
Back
Top