From owner-svn-src-all@FreeBSD.ORG Mon Jul 1 08:14:44 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 946846F8 for ; Mon, 1 Jul 2013 08:14:44 +0000 (UTC) (envelope-from peter@wemm.org) Received: from mail-vc0-x233.google.com (mail-vc0-x233.google.com [IPv6:2607:f8b0:400c:c03::233]) by mx1.freebsd.org (Postfix) with ESMTP id 56CAC15D9 for ; Mon, 1 Jul 2013 08:14:44 +0000 (UTC) Received: by mail-vc0-f179.google.com with SMTP id hz11so1784959vcb.10 for ; Mon, 01 Jul 2013 01:14:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wemm.org; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=ISW99VcO8E/anLbB4h1z69G2LuFJyn3jel3M5AzRZDI=; b=DaUD9CelFNcVe/U9jv0LnqgOncRY2kd6/luk8xAiZY5804noSKd2pnTyN3LsPtJjlD dTohAaVyshk31jko8Qxsb1om27mY4efpPFavKNriAHbo/BWxBAEk4J94waf9PVUZVGi9 phSSbLF6cIFJFnNpLJGgsZ8qOKTcvhAwd7LEs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=ISW99VcO8E/anLbB4h1z69G2LuFJyn3jel3M5AzRZDI=; b=Lv+ZWSXmmOVytxMdhYMGTErxBzpalrjbWjM3b/LpOHknK9Bc958ngOEhMkdNrBqbY9 S9iowasv1bYfaUKwWCJKzaoThm8/lKkx6/1v2b+XFDtM9ZSF0/1mza3gaWYQFSgGTPQ3 /Tt6GuTK8QbjAeaV5z0bw+6bHRK1qYnaQwcDSukMn9aTro+kBesccamcsAZ+shynswev uRVpo43yZ547BfQAk9MfXWNsvgf+nTiXgxx3RN6D0Lt6H5put11MlgxRqzy9DNeS4CL1 ex1o3YoWF1Knp+VX/e1YNWAddN7c/Sv60dSfhJ9O2R6CUWWOWVF/vT+pMvkW5gmxue3k LKwQ== MIME-Version: 1.0 X-Received: by 10.52.65.111 with SMTP id w15mr7418182vds.73.1372666483884; Mon, 01 Jul 2013 01:14:43 -0700 (PDT) Received: by 10.221.37.198 with HTTP; Mon, 1 Jul 2013 01:14:43 -0700 (PDT) In-Reply-To: <201307010806.r6186QmN027318@svn.freebsd.org> References: <201307010806.r6186QmN027318@svn.freebsd.org> Date: Mon, 1 Jul 2013 01:14:43 -0700 Message-ID: Subject: Re: svn commit: r252458 - head/lib/libc/iconv From: Peter Wemm To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQlSXx+zFWYI67xOUvdEzsbcKSDwV9OgiOu8XElx5bvu5ezGvumtilG667LIBidzubs48z6v X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Jul 2013 08:14:44 -0000 On Mon, Jul 1, 2013 at 1:06 AM, Peter Wemm wrote: > Author: peter > Date: Mon Jul 1 08:06:26 2013 > New Revision: 252458 > URL: http://svnweb.freebsd.org/changeset/base/252458 > > Log: [..] > I'm using this as a ports-compatible compile-time substitute for > converters/libiconv on one of my personal machines. > In case anyone else is crazy enough, this is what I'm doing. 1) make.conf: WITH_ICONV=yes 2) patch ports Mk to disable "USES=iconv" Index: Mk/Uses/iconv.mk =================================================================== --- Mk/Uses/iconv.mk (revision 322113) +++ Mk/Uses/iconv.mk (working copy) @@ -16,6 +16,6 @@ IGNORE= USES=iconv does not require args .endif -LIB_DEPENDS+= iconv.3:${PORTSDIR}/converters/libiconv +#LIB_DEPENDS+= iconv.3:${PORTSDIR}/converters/libiconv .endif So far, I don't seem to be being punished for trying this. But I was able to remove converters/libiconv from all its downstream consumers before installing the local one. Having said that, it's all bound to catch fire now..... I have suspect that autoconf will make a smooth transition as difficult as possible by "autodetecting" libiconv if it was present. One way might be to move libiconv.so.3 to a lib compat directory and make sure there are no libiconv.so or libiconv.a files around. That **might** be enough to allow old binaries to run while you force rebuild. -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com; KI6FJV