Subject: Re: package dependencies
To: Dave Schmitt <dschmi1@umbc.edu>
From: None <mcmahill@mtl.mit.edu>
List: port-mac68k
Date: 08/10/1999 20:11:37
in /usr/pkgsrc/databases/mysql-client/Makefile, you will see the line
USE_PERL5=      yes

which triggers the PERL dependency.  Then in the file 
/usr/pkgsrc/mk/bsd.pkg.mk
there are the lines:

.if defined(USE_PERL5)
DEPENDS+=               perl-5.00404:${PKGSRCDIR}/lang/perl5
.endif

which is where perl really gets put into the DEPENDS list.  You could just
comment out the USE_PERL5 line in the mysql package, but be warned that
the package may or may not function as expected/desired since it wasn't
tested with a non-package version of perl

-Dan


On Tue, 10 Aug 1999, Dave Schmitt wrote:

> I'm trying to install mysql from the pkgsrc and the mysql-client package is
> convinced it needs to install the perl-5.00404 package and is trying real
> hard to do so. However, I have my own non-package copy of perl (5.005_03)
> already installed and want mysql to recognize this. Where are these
> dependencies stored so that I may hunt it down and remove it? what follows
> is the make output up until the time it tries to download perl and I stop
> it. I see nothing in pkgsrc/databases/mysql-client/Makefile listing
> dependencies...
> 
> ===>  Validating dependencies for mysql-client-3.22.22
> >> Checksum OK for mysql-3.22.22.tar.gz.
> ===>  Extracting for mysql-client-3.22.22
> ===>  mysql-client-3.22.22 depends on executable: gmake - /usr/pkg/bin/gmake
> found
> ===>  mysql-client-3.22.22 depends on file:
> /usr/pkg/bin/pkglibtool-a.out-1.2p2 - found
> ===>  mysql-client-3.22.22 depends on package: perl-5.00404
> ===>  Verifying install for /usr/local/src/pkgsrc/lang/perl5
> 
> 
> -- 
> Dave Schmitt <dschmi1@umbc.edu>
>