From owner-freebsd-ports@FreeBSD.ORG Mon Apr 9 10:32:04 2007 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 11F4B16A404 for ; Mon, 9 Apr 2007 10:32:04 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.236]) by mx1.freebsd.org (Postfix) with ESMTP id 9253113C4B7 for ; Mon, 9 Apr 2007 10:32:03 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: by nz-out-0506.google.com with SMTP id r28so1031298nza for ; Mon, 09 Apr 2007 03:32:03 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=OnQ5MDQzom4HsP4pMF/b8DK0tZEjptquMZQqGIin8a9XUkTguFWPsT27i4Uin8RR3FpmaQI5hKCnr35BXlUbzNw4KW9ILgNuyBl6nGiEWWB0yTyctO9qj9q7pDLbFgcqRQyahjiSsOWKNbwcaMp4TCs5kGGxPhKh+R2D8pjjQp4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=raN+XmRZmIFzNfw78ny0jvDsgJXJZJF2n7c2wqqsy23Ny1QHqwXs57yfHIyJcYoqrd2NY/+Z4An0zrgrnMZos5g5PYBGF2ZNjNgNdIdppfPgpBhkiGUub/74BmucqiMOY8ii93Gn0uYbk9Rdv7TpIeVgeMNbQENZoc85YIVdsEY= Received: by 10.114.254.1 with SMTP id b1mr2253889wai.1176114722383; Mon, 09 Apr 2007 03:32:02 -0700 (PDT) Received: by 10.114.201.2 with HTTP; Mon, 9 Apr 2007 03:32:02 -0700 (PDT) Message-ID: Date: Mon, 9 Apr 2007 14:32:02 +0400 From: "Andrew Pantyukhin" Sender: infofarmer@gmail.com To: Alagarsamy In-Reply-To: <461A0E98.2030003@yahoo-inc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <461A0E98.2030003@yahoo-inc.com> X-Google-Sender-Auth: cd42d32927929511 Cc: freebsd-ports@freebsd.org Subject: Re: Package A should replace Package B 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: Mon, 09 Apr 2007 10:32:04 -0000 On 4/9/07, Alagarsamy wrote: > > I had package A and package B. Package A does all the functions of > Package B and some more functions. So installing package A should > replace package B. So i need to have a 'REPLACES' like directive in > Makefile of Package A which says "package A should replace package B". > currently I can't find 'REPLACES' directive. Is there any otherway we > can achieve this ? Not this time of year, and it's not as simple as you sound. Just tell the user he needs to remove some packages before installing this one, and/or just set CONFLICTS.