From owner-freebsd-questions@FreeBSD.ORG Thu Nov 11 20:16:03 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1485716A4CE for ; Thu, 11 Nov 2004 20:16:03 +0000 (GMT) Received: from kanga.honeypot.net (kanga.honeypot.net [208.162.254.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id CCDA443D2F for ; Thu, 11 Nov 2004 20:16:02 +0000 (GMT) (envelope-from kirk@strauser.com) Received: from localhost (localhost [127.0.0.1]) by kanga.honeypot.net (Postfix) with ESMTP id 0C7FCB863 for ; Thu, 11 Nov 2004 14:16:02 -0600 (CST) Received: from kanga.honeypot.net ([127.0.0.1]) by localhost (kanga.honeypot.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 68772-06 for ; Thu, 11 Nov 2004 14:16:01 -0600 (CST) Received: from janus.daycos.com (janus.daycos.com [204.26.70.77]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by kanga.honeypot.net (Postfix) with ESMTP id 46B96B805 for ; Thu, 11 Nov 2004 14:16:01 -0600 (CST) From: Kirk Strauser To: freebsd-questions@freebsd.org Date: Thu, 11 Nov 2004 14:15:52 -0600 User-Agent: KMail/1.7 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3519436.YhG4yTMUyX"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200411111415.55983.kirk@strauser.com> X-Virus-Scanned: by amavisd-new at honeypot.net Subject: How to use ALT_PKGDEP? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Nov 2004 20:16:03 -0000 --nextPart3519436.YhG4yTMUyX Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I'm always having to manually fix dependencies that get broken whenever a=20 port option I've chosen gives that port a different name than usual. For=20 example, I installed openldap-{client,server} with the "SASL" option and=20 the resulting packages are named openldap-sasl-{client,server}-$version. =20 This gives no end of problems such as: # portversion -vL=3D Stale dependency: kdeadmin-3.3.1 --> openldap-client-2.2.18 -- manually= =20 run 'pkgdb -F' to fix, or specify -O to force. I've added what I thought=20 were appropriate alternate package dependency lines to pkgtools.conf: ALT_PKGDEP =3D { 'apache-1.3.*' =3D> 'apache+mod_ssl-1.3.*', 'openldap-client-*' =3D> 'openldap-sasl-client-*', 'openldap-server-*' =3D> 'openldap-sasl-server-*' } but they don't seem to have the desired effect. Am I doing something wrong= ,=20 or is ALT_PKGDEP not the appropriate way to solve this? =2D-=20 Kirk Strauser --nextPart3519436.YhG4yTMUyX Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- iD8DBQBBk8h75sRg+Y0CpvERAna+AKCNd8F8oUVhO2ZqgFCQER9qwKnddgCdE60c FIA1VlKPryUGFy+Zpmz6MAw= =EHfS -----END PGP SIGNATURE----- --nextPart3519436.YhG4yTMUyX--