From owner-freebsd-ports@FreeBSD.ORG Wed Sep 27 17:14:06 2006 Return-Path: X-Original-To: ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BB9F416A494 for ; Wed, 27 Sep 2006 17:14:06 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from smtprelay01.ispgateway.de (smtprelay01.ispgateway.de [80.67.18.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4BF3843D5A for ; Wed, 27 Sep 2006 17:13:32 +0000 (GMT) (envelope-from freebsd-listen@fabiankeil.de) Received: (qmail 26982 invoked from network); 27 Sep 2006 17:13:20 -0000 Received: from unknown (HELO localhost) (775067@[217.50.130.118]) (envelope-sender ) by smtprelay01.ispgateway.de (qmail-ldap-1.03) with SMTP for ; 27 Sep 2006 17:13:20 -0000 Date: Wed, 27 Sep 2006 19:13:12 +0200 From: Fabian Keil To: ports@FreeBSD.org Message-ID: <20060927191312.4b26cbe5@localhost> In-Reply-To: <20060926204203.GA1086@underworld.novel.ru> References: <20060926114220.31363149@localhost> <20060926204203.GA1086@underworld.novel.ru> X-Mailer: Sylpheed-Claws 2.4.0 (GTK+ 2.8.19; i386-portbld-freebsd6.2) X-PGP-KEY-URL: http://www.fabiankeil.de/gpg-keys/freebsd-listen-2008-08-18.asc Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_88JuF3KF33/hRG+VJJRith_"; protocol="application/pgp-signature"; micalg=PGP-SHA1 Cc: Subject: Re: CONFLICTS not working as expected X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Sep 2006 17:14:06 -0000 --Sig_88JuF3KF33/hRG+VJJRith_ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Roman Bogorodskiy wrote: > Fabian Keil wrote: > > My system is FreeBSD 6.2-PRERELEASE, and I have the feeling > > that CONFLICTS aren't working at all, at least for the "conflicting" > > ports I tried: > >=20 > > porttest# pkg_info | egrep -e '^(gnutls|tor-|privoxy)' > > gnutls-1.4.4 GNU Transport Layer Security library > > gnutls-devel-1.5.0 GNU Transport Layer Security library > > privoxy-3.0.3_5 Privoxy is a web proxy with advanced filtering > > capabilities privoxy-devel-3.0.5 A web proxy with advanced filtering > > capabilities tor-0.1.1.23 An anonymizing overlay network for TCP > > tor-devel-0.1.2.1 An anonymizing overlay network for TCP > >=20 > > There is a PR about CONFLICTS being ignored if DESTDIR > > is set (http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dports/102300), > > but it is supposed to be fixed and I'm not using DESTDIR anyway. >=20 > It's actually about that CONFLICTS does *not* work with default (not > set) DESTDIR. However, current DESTDIR implementation is going to be > replaced with the new one which would probably avoid this inconvenient > bug.=20 You're right of course. I should have read the whole PR, not just parts of it. It also seems to be the cause of my problem. With DESTDIR set, CONFLICTS are working as expected: porttest# make package DESTDIR=3D/. [...] =3D=3D=3D> Installing for privoxy-devel-3.0.5 into /. =3D=3D=3D> privoxy-devel-3.0.5 conflicts with installed package(s) in /.:= =20 privoxy-3.0.3_5 They install files into the same place. Please remove them first with pkg_delete(1). *** Error code 1 Stop in /usr/ports/www/privoxy-devel. Thanks. Fabian --=20 http://www.fabiankeil.de/ --Sig_88JuF3KF33/hRG+VJJRith_ Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFGrEuBYqIVf93VJ0RAstFAKCmNn3wDnqWYiRyWMJrHNM/C3UIuQCglIID +U3TWTWv4Qc/ToAcWGsUpbo= =zbCG -----END PGP SIGNATURE----- --Sig_88JuF3KF33/hRG+VJJRith_--