Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Jul 1997 15:53:22 +0530
From:      A Joseph Koshy <koshy@india.hp.com>
To:        freebsd-ports@freebsd.org
Subject:   RUN_DEPENDS and USE_PERL5
Message-ID:  <199707031023.DAA18135@palrel1.hp.com>

next in thread | raw e-mail | index | archive | help

I don't claim to understand "/usr/share/mk/bsd.port.mk" very much, but it 
seems to me that we have an undesirable interaction between `USE_PERL5' and 
`RUN_DEPENDS' there.

    .if defined(USE_PERL5)
    BUILD_DEPENDS+=         perl5.004:${PORTSDIR}/lang/perl5
    RUN_DEPENDS+=           perl5.004:${PORTSDIR}/lang/perl5
    .endif
            
If one is trying to install a P5- module (eg: p5-CGI_Lite), this
causes the build to look for "/usr/ports/lang/perl5".

Now this shouldn't be necessary, as Perl5 could have been installed
and present in ${PREFIX}/bin/perl5.

Further dependency registration fails (seems to be looking in
"/usr/ports/lang/perl5") again instead of "/var/db/pkg/.../" to register
its dependencies. 

Thus make install fails --- is there something I'm doing wrong?

Running 3.0-current as of a week back.

Koshy
<koshy@india.hp.com>			My Personal Opinions Only.



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