Date: 18 Sep 2002 14:53:37 -0400 From: Joe Marcus Clarke <marcus@marcuscom.com> To: Sean Chittenden <seanc@FreeBSD.ORG> Cc: gnome@FreeBSD.ORG Subject: Re: textproc/libxml2 Makefile patch... Message-ID: <1032375217.341.67.camel@gyros.marcuscom.com> In-Reply-To: <20020918184333.GQ99484@perrin.int.nxad.com> References: <20020918184333.GQ99484@perrin.int.nxad.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 2002-09-18 at 14:43, Sean Chittenden wrote: > The attached patch adds some tunables for libxml2. Does this look > okay to commit? I moved the display target to pre-fetch that way the > user would have more time to see the notice while it's downloading the > library. -sc This looks fine to me. Joe > > -- > Sean Chittenden > ---- > > Index: Makefile > =================================================================== > RCS file: /home/ncvs/ports/textproc/libxml2/Makefile,v > retrieving revision 1.74 > diff -u -r1.74 Makefile > --- Makefile 24 Aug 2002 08:17:30 -0000 1.74 > +++ Makefile 18 Sep 2002 18:41:40 -0000 > @@ -40,12 +40,36 @@ > PKGNAMESUFFIX= -nopython > .endif > > -.if !defined(WITHOUT_PYTHON) > -pre-extract: > +.if defined(WITH_SCHEMA) > +CONFIGURE_ARGS+= --with-schemas > +.endif > + > +.if defined(WITH_MEM_DEBUG) > +CONFIGURE_ARGS+= --with-mem-debug > +.endif > + > +.if defined(WITH_XMLLINT_HIST) > +CONFIGURE_ARGS+= --with-history > +.endif > + > +.if defined(WITH_THREADS) > +CONFIGURE_ARGS+= --with-threads > +.endif > + > +.if defined(WITH_THREAD_ALLOC) > +CONFIGURE_ARGS+= --with-thread-alloc > +.endif > + > +pre-fetch: > + @${ECHO_MSG} "libxml2 has the following tunables:" > @${ECHO_MSG} "" > - @${ECHO_MSG} "If you don't want Python support, add WITHOUT_PYTHON=yes to command line" > + @${ECHO_MSG} " WITHOUT_PYTHON=yes Turns off Python support" > + @${ECHO_MSG} " WITH_SCHEMA=yes Turns on XML Schema support" > + @${ECHO_MSG} " WITH_MEM_DEBUG=yes Turns on memory debugging" > + @${ECHO_MSG} " WITH_XMLLINT_HIST=yes Turns on history for xmllint" > + @${ECHO_MSG} " WITH_THREADS=yes Turns on multi-threading support" > + @${ECHO_MSG} " WITH_THREAD_ALLOC=yes Turns on per-thread memory" > @${ECHO_MSG} "" > -.endif > > pre-patch: > @find ${WRKSRC} -name Makefile.in | xargs ${REINPLACE_CMD} -e \ -- PGP Key : http://www.marcuscom.com/pgp.asc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-gnome" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1032375217.341.67.camel>