Skip site navigation (1)Skip section navigation (2)
Date:      08 Mar 2003 01:33:08 -0500
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        "Mezz bsdforums.org" <reigncracks@hotmail.com>
Cc:        FreeBSD GNOME Users <gnome@freebsd.org>
Subject:   Re: Umm, how do depends with WITH_*=yes or no in Makefile?
Message-ID:  <1047105187.75221.288.camel@shumai.marcuscom.com>
In-Reply-To: <F10Ntp1hozdiE8X3qem0002e54e@hotmail.com>
References:  <F10Ntp1hozdiE8X3qem0002e54e@hotmail.com>

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

--=-DNkDbXRNSYNNT0S3uwTm
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Thu, 2003-03-06 at 05:00, Mezz bsdforums.org wrote:
> I am trying to figure how can I get databases/py-bsddb3 to install as=20
> WITH_DB3=3Dyes or -DWITH_DB3 in the RUN_DEPENDS. I tried following:
>=20
> RUN_DEPENDS=3D	${PYTHON_SITELIBDIR}/bsddb3/__init__.py:${PORTSDIR}/databa=
ses/py-bsddb3
> WITH__DB3=3D	yes

You can't pass RUN_DEPENDS to dependencies like this.  If you need to
depend on a certain optional feature of a port, you need to create a
slave port that enables that feature.

>=20
> But, it doesn't work.. I am not sure if I should do ".include" the Makefi=
le=20
> of py-bsddb3? Straw was written with py-bsddb3, but I haven't test with=20
> version 4. The bug tracker has list of Straw isn't work with py-bsddb4.

Well, even though this port can depend on db4, it is still py-bsddb3.=20
Without ever using this port or knowing very much about it, I imagine it
would abstract the database enough from the calling application (straw
in this case), that you could probably get it to work with db4.=20
Couldn't hurt to try.

Joe

>=20
> Cheers,
> Mezz
>=20
> _________________________________________________________________
> The new MSN 8: smart spam protection and 2 months FREE* =20
> http://join.msn.com/?page=3Dfeatures/junkmail
>=20
>=20
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-gnome" in the body of the message
--=20
PGP Key : http://www.marcuscom.com/pgp.asc

--=-DNkDbXRNSYNNT0S3uwTm
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQA+aY6jb2iPiv4Uz4cRAt7hAKCU0Pavx0uLI813qX3cWRWhjAa8aQCgkZkB
c6xGL/mNt17YbdsK9/cfwVs=
=GkoK
-----END PGP SIGNATURE-----

--=-DNkDbXRNSYNNT0S3uwTm--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-gnome" in the body of the message




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