ports/75803: Some Perl-related ports lack RUN_DEPENDS in Makefile

ITO at FreeBSD.org ITO at FreeBSD.org
Tue Jan 4 15:50:30 UTC 2005


>Number:         75803
>Category:       ports
>Synopsis:       Some Perl-related ports lack RUN_DEPENDS in Makefile
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 04 15:50:26 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     ITO, Takayuki
>Release:        4.10-RELEASE i386, 5.3-RELEASE i386
>Organization:
>Environment:
FreeBSD kyoko.euc.jp 4.10-RELEASE-p3 FreeBSD 4.10-RELEASE-p3 #16: Mon Nov 15 00:52:08 JST 2004     yuki at kyoko.euc.jp:/usr/obj/usr/src/sys/KYOKO  i386

>Description:
Some Perl-related ports (such as p5-Crypt-DSA and p5-Crypt-Random) lacks RUN_DEPENDS in Makefile.
Therefore the resulting packages do not have @pkgdep lines in +CONTENTS file.
You can install these packages successfully even if other packages on which they depend are not installed.
However you will fail to utilize the packages.

>How-To-Repeat:
$ pkg_add p5-Crypt-DSA-0.12.tbz
$ perl -e "use Crypt::DSA;"
Can't locate Crypt/Random.pm in @INC ...

(if you have not installed p5-Crypt-Random, on which p5-Crypt-DSA depends)

>Fix:
Workaround:
Install necessary packages by hand.

Fix:
Add the following line to Makefile in applicable ports:
RUN_DEPENDS= $(BUILD_DEPENDS)

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list