From owner-freebsd-ports@FreeBSD.ORG Thu Mar 10 22:10:13 2005 Return-Path: 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 88E2216A4D0 for ; Thu, 10 Mar 2005 22:10:13 +0000 (GMT) Received: from isis.sigpipe.cz (r2g224.chello.upc.cz [62.245.70.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id 12B1043D5C for ; Thu, 10 Mar 2005 22:10:13 +0000 (GMT) (envelope-from neuhauser@chello.cz) Received: by isis.sigpipe.cz (Postfix, from userid 1001) id 24A9F1F87BEF; Thu, 10 Mar 2005 23:10:12 +0100 (CET) Date: Thu, 10 Mar 2005 23:10:12 +0100 From: Roman Neuhauser To: Marco Molteni Message-ID: <20050310221012.GC37217@isis.wad.cz> Mail-Followup-To: Marco Molteni , freebsd-ports@freebsd.org References: <20050310165048.0b39694f.molter@tin.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050310165048.0b39694f.molter@tin.it> User-Agent: Mutt/1.5.6i cc: freebsd-ports@freebsd.org Subject: Re: CONFLICTS for build, not for install ? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Mar 2005 22:10:13 -0000 # molter@tin.it / 2005-03-10 16:50:48 +0100: > I am trying to update a port (graphics/enblend) that contains its own > version of a library that is a port too: graphics/vigra. > > The source code for enblend does some > #include > #include "vigra/bla" > > expecting to include the version of vigra contained in enblend itself. > It seems also that it is mixing at random <> and "". The net effect is > that there are 2 cases: > 1. if graphics/vigra is not installed, then enblend compiles and > installs fine. > > 2. if graphics/vigra is installed, then the compile of enblend > breaks. > > I tried just setting > CONFLICTS= vigra* > but is seems that CONFLICTS is tested before installing, while I > need it to be tested before building. > > Suggestions? I'd like to avoid rewriting all the #include, although > it might be automated with some sed scripting. (not tested) post-patch: ${GREP} -FIlr ']+)>,"\1"#' or something like that? -- How many Vietnam vets does it take to screw in a light bulb? You don't know, man. You don't KNOW. Cause you weren't THERE. http://bash.org/?255991