Date: Thu, 22 Jun 2006 06:00:42 GMT From: Udo Schweigert <Udo.Schweigert@siemens.com> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/99285: mail/mutt-devel port WITH_NCURSES_PORT doesn't use ncurses port Message-ID: <200606220600.k5M60g4M039799@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/99285; it has been noted by GNATS. From: Udo Schweigert <Udo.Schweigert@siemens.com> To: bug-followup@FreeBSD.ORG Cc: Edwin Groothuis <edwin@FreeBSD.ORG> Subject: Re: ports/99285: mail/mutt-devel port WITH_NCURSES_PORT doesn't use ncurses port Date: Thu, 22 Jun 2006 07:55:45 +0200 On Thu, Jun 22, 2006 at 01:53:04 +0000, Edwin Groothuis wrote: > Maintainer of mail/mutt-devel, > > Please note that PR ports/99285 has just been submitted. Here is my patch (includes some docu about the new knob): diff -ru /usr/ports/mail/mutt-devel/Makefile ./Makefile --- /usr/ports/mail/mutt-devel/Makefile Tue Mar 21 11:06:35 2006 +++ ./Makefile Thu Jun 22 07:47:24 2006 @@ -25,6 +25,9 @@ # environment to get slang function properly. # The default version for slang is 1.x. Define WITH_MUTT_SLANG2 if you want # to use the slang version 2.x +# The default version for ncurses is that which comes with the operating +# system. If you want to use the ncurses supplied by the ports-system define +# WITH_MUTT_NCURSES_PORT. # # If you want to install the mutt documentation in html and ps format define: # WITH_MUTT_HTML @@ -279,7 +282,12 @@ .if defined(NOPORTDOCS) XML_USED= no .endif -.if defined(MUTT_USES_NCURSES) && ${OSVERSION} < 400000 +.if defined(MUTT_USES_NCURSES) +.if ${OSVERSION} < 400000 || defined(WITH_MUTT_NCURSES_PORT) +MUTT_USES_NCURSES_PORT= yes +.endif +.endif +.if defined(MUTT_USES_NCURSES_PORT) LIB_DEPENDS+= ncurses.5:${PORTSDIR}/devel/ncurses CFLAGS+= -I${LOCALBASE}/include/ncurses -I${LOCALBASE}/include .elif defined(MUTT_USES_SLANG1) @@ -348,7 +356,7 @@ .if defined(WITH_MUTT_LOCALES_FIX) CONFIGURE_ARGS+= --enable-locales-fix .endif -.if defined(MUTT_USES_NCURSES) && ${OSVERSION} < 400000 +.if defined(MUTT_USES_NCURSES_PORT) CONFIGURE_ARGS+= --with-curses=${LOCALBASE} .elif defined(MUTT_USES_SLANG) CONFIGURE_ARGS+= --with-slang=${LOCALBASE} This fixes the PR which then can be closed. Best regards -- Udo Schweigert, Siemens AG | Voice : +49 89 636 42170 CT IC CERT, Siemens CERT | Fax : +49 89 636 41166 D-81730 Muenchen / Germany | email : udo.schweigert@siemens.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606220600.k5M60g4M039799>