From owner-freebsd-arch@FreeBSD.ORG Mon Nov 8 23:54:06 2010 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 461B9106566B for ; Mon, 8 Nov 2010 23:54:06 +0000 (UTC) (envelope-from ade@FreeBSD.org) Received: from panix.lovett.com (panix.lovett.com [166.84.7.128]) by mx1.freebsd.org (Postfix) with ESMTP id 1BD658FC08 for ; Mon, 8 Nov 2010 23:54:05 +0000 (UTC) Received: from cpe-66-68-128-204.austin.res.rr.com ([66.68.128.204] helo=[172.16.32.150]) by panix.lovett.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.72 (FreeBSD)) (envelope-from ) id 1PFb2n-0007Vb-2j; Mon, 08 Nov 2010 23:22:33 +0000 Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii From: Ade Lovett In-Reply-To: Date: Mon, 8 Nov 2010 17:22:20 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20101106120752.001e92c0@ernst.jennejohn.org> <86vd4ao5o4.fsf@gmail.com> To: Baptiste Daroussin X-Mailer: Apple Mail (2.1081) Cc: Anonymous , gljennjohn@googlemail.com, freebsd-arch@freebsd.org Subject: Re: [PATCH] update to the latest libedit version and remove libreadline deps X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2010 23:54:06 -0000 On Nov 08, 2010, at 09:21 , Baptiste Daroussin wrote: > We also have to think a way to update ports to use devel/readline > before breaking lot's of them removing libreadline from base. But I > have no idea is there are good procedures for that purpose. Easiest solution would be something along the lines of=20 (1) adding the following to ports/Mk/bsd.port.mk .if defined(USE_READLINE) . if ${OSVERSION} >=3D (whatever the number is) LIB_DEPENDS+=3D readline:${PORTSDIR}/devel/readline # other hacks for CFLAGS, LDFLAGS, etc. . endif .endif (2) creating a suitable binary world tarball with the libreadline not = present in base (3) hand (1) and (2) over to portmgr@ for a 9-i386-exp run, see what = breaks, patch ports accordingly by adding USE_READLINE to the Makefile, = rinse, repeat, commit. Have fun. PS: Don't forget the documentation of the USE_READLINE knob PPS: I wouldn't be expecting much to happen here this side of the = upcoming 7.x/8.x releases, since it's going to be relatively invasive = work, and will most likely need repeated package building runs. -aDe