From owner-freebsd-gnome Fri Mar 7 22:33:16 2003 Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0B6DD37B401 for ; Fri, 7 Mar 2003 22:33:14 -0800 (PST) Received: from creme-brulee.marcuscom.com (rdu57-17-158.nc.rr.com [66.57.17.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id 041C143F75 for ; Fri, 7 Mar 2003 22:33:13 -0800 (PST) (envelope-from marcus@marcuscom.com) Received: from [192.168.1.4] (shumai.marcuscom.com [192.168.1.4]) by creme-brulee.marcuscom.com (8.12.7/8.12.7) with ESMTP id h286VWZX020728; Sat, 8 Mar 2003 01:31:32 -0500 (EST) (envelope-from marcus@marcuscom.com) Subject: Re: Umm, how do depends with WITH_*=yes or no in Makefile? From: Joe Marcus Clarke To: "Mezz bsdforums.org" Cc: FreeBSD GNOME Users In-Reply-To: References: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-DNkDbXRNSYNNT0S3uwTm" Organization: MarcusCom, Inc. Message-Id: <1047105187.75221.288.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 Date: 08 Mar 2003 01:33:08 -0500 X-Spam-Status: No, hits=-33.0 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE_2, QUOTED_EMAIL_TEXT,QUOTE_TWICE_1,REFERENCES, REPLY_WITH_QUOTES autolearn=ham version=2.50 X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-gnome@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --=-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