From owner-freebsd-ports@FreeBSD.ORG Sat Mar 26 09:44:07 2011 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C667F106571A for ; Sat, 26 Mar 2011 09:44:07 +0000 (UTC) (envelope-from mirror176@cox.net) Received: from fed1rmfepi104.cox.net (fed1rmfepi104.cox.net [68.230.241.135]) by mx1.freebsd.org (Postfix) with ESMTP id 862A58FC12 for ; Sat, 26 Mar 2011 09:44:07 +0000 (UTC) Received: from fed1rmimpo03.cox.net ([70.169.32.75]) by fed1rmfepo102.cox.net (InterMail vM.8.01.04.00 201-2260-137-20101110) with ESMTP id <20110326092926.LVTD18463.fed1rmfepo102.cox.net@fed1rmimpo03.cox.net> for ; Sat, 26 Mar 2011 05:29:26 -0400 Received: from darkstar.l.net ([98.165.138.223]) by fed1rmimpo03.cox.net with bizsmtp id PlVR1g00D4pNzHu04lVSNK; Sat, 26 Mar 2011 05:29:26 -0400 X-VR-Score: -10.00 X-Authority-Analysis: v=1.1 cv=+7g07FftAVK5SzfBDSzY8IJIWiAWL38p2qa3Op/8zMo= c=1 sm=1 a=rLpCYgkgFLgA:10 a=oYwcd31N2i4A:10 a=wPDyFdB5xvgA:10 a=kj9zAlcOel0A:10 a=0gZZLDo7ALLKhNfrQlPY4w==:17 a=gjbbGRGVoEFn7KHcK2YA:9 a=2HXmXc04Rzaw_OFKGyP8KoX_QaMA:4 a=CjuIK1q_8ugA:10 a=0gZZLDo7ALLKhNfrQlPY4w==:117 X-CM-Score: 0.00 Authentication-Results: cox.net; none Received: from localhost (localhost [127.0.0.1]) (uid 1001) by darkstar.l.net with local; Sat, 26 Mar 2011 02:29:17 -0700 id 0000196A.000000004D8DB1ED.0000742F From: "Edward Sanford Sutton, III" To: ports@freebsd.org Date: Sat, 26 Mar 2011 02:29:14 -0700 User-Agent: KMail/1.9.10 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201103260229.16197.mirror176@cox.net> Cc: Subject: How to best handle ports mislinking against locally installed copies? 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: Sat, 26 Mar 2011 09:44:07 -0000 As an example, net/avahi-app fails to build on my machine because of the error: /libexec/ld-elf.so.1: Shared object "libicui18n.so.38" not found, required by "libavahi-glib.so.1" This can be fixed by removing the port before building so that it is unable to link against /usr/local/lib/libavahi-glib.so.1 and instead correctly links against ./work/avahi-0.6.29/avahi-glib/.libs/libavahi-glib.so.1 but is it correct to assume uninstall is needed before attempting to build a new version or are there suggested fixes or examples of working through this? I can try to dig up other examples I have ran into in detail but was wondering about the general approach and if the freebsd ports tree likes to fix it, note it, or ignore it? Thanks again, Edward Sanford Sutton, III