Date: Mon, 8 Nov 2010 17:22:20 -0600 From: Ade Lovett <ade@FreeBSD.org> To: Baptiste Daroussin <bapt@freebsd.org> Cc: Anonymous <swell.k@gmail.com>, gljennjohn@googlemail.com, freebsd-arch@freebsd.org Subject: Re: [PATCH] update to the latest libedit version and remove libreadline deps Message-ID: <BADB42DD-05A2-4416-829C-FD883EABCEDA@FreeBSD.org> In-Reply-To: <AANLkTinkwsFXpXE=CxcDjTGPVo3aa8EQ1_ve0h3NiB5E@mail.gmail.com> References: <AANLkTi=vxnbFvJabRYLKXG1zA5ry=Phh7y%2Bkg7wjvFmr@mail.gmail.com> <AANLkTimK=YK6Lnt%2BPzpOdQzLz6kCOHqJY6x%2BGiSh2D9z@mail.gmail.com> <20101106120752.001e92c0@ernst.jennejohn.org> <86vd4ao5o4.fsf@gmail.com> <AANLkTinkwsFXpXE=CxcDjTGPVo3aa8EQ1_ve0h3NiB5E@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BADB42DD-05A2-4416-829C-FD883EABCEDA>