From owner-freebsd-questions@freebsd.org Mon Sep 7 10:11:02 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 10EDA9C5907 for ; Mon, 7 Sep 2015 10:11:02 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail05.adl6.internode.on.net (ipmail05.adl6.internode.on.net [150.101.137.143]) by mx1.freebsd.org (Postfix) with ESMTP id A28F41A4A for ; Mon, 7 Sep 2015 10:11:01 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ppp118-210-169-30.lns20.adl6.internode.on.net (HELO leader.local) ([118.210.169.30]) by ipmail05.adl6.internode.on.net with ESMTP; 07 Sep 2015 19:40:59 +0930 Message-ID: <55ED62A8.40105@ShaneWare.Biz> Date: Mon, 07 Sep 2015 19:40:48 +0930 From: Shane Ambler User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: freebsd@dreamchaser.org, FreeBSD Mailing List Subject: Re: ports database, sorta-user install References: <55EC64C0.3000802@dreamchaser.org> In-Reply-To: <55EC64C0.3000802@dreamchaser.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Sep 2015 10:11:02 -0000 On 07/09/2015 01:37, Gary Aitken wrote: > I'm trying to build gimp from the latest source, while still keeping > the /usr/ports version installed. This is turning out to be non-trivial > (for me), and the easiest way appears to be to treat it as a port and > use the ports mechanism to deal with the gnu aspects of the source. > Can someone tell me what's going on? > > Is there some better way to do this? Essentially, I want to build a set > of new ports that still link to standard libs when possible, superceeding > existing ports as necessary. In this case, that means at least a > new gimp (depends on new gegl) > new gegl (depends on new babl) > new babl pkg uses the packagename and/or origin to distinguish between ports (I think it was origin but they are working to change it to package name) To get your ports working with this you want to change the name of them so that they have their own names and aren't confused with existing ports. I suggest making your own ports. By creating graphics/gimp-app-ga x11/babl-ga ... and giving them a matching PORTNAME you will get ports that can be installed alongside existing ports provided you adjust them to not install the same files in the same location. Other ports are linked as dependencies using settings within the ports Makefile, have your ports point to your newer versions and existing ports still link to other existing ports. LIB_DEPENDS= libgegl-0.2.so:${PORTSDIR}/graphics/gegl-ga The porters handbook explains more about creating a port - 5.8 is dependencies https://www.freebsd.org/doc/en/books/porters-handbook/index.html -- FreeBSD - the place to B...Software Developing Shane Ambler