Date: Wed, 18 Sep 2002 11:43:33 -0700 From: Sean Chittenden <seanc@FreeBSD.org> To: gnome@FreeBSD.org Subject: textproc/libxml2 Makefile patch... Message-ID: <20020918184333.GQ99484@perrin.int.nxad.com>
next in thread | raw e-mail | index | archive | help
--zH41lVBEV8cLJnCl Content-Type: multipart/mixed; boundary="GmiNL4+5WUWrod5m" Content-Disposition: inline --GmiNL4+5WUWrod5m Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 --=20 Sean Chittenden --GmiNL4+5WUWrod5m Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=patch Content-Transfer-Encoding: quoted-printable Index: Makefile =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 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=3D -nopython .endif =20 -.if !defined(WITHOUT_PYTHON) -pre-extract: +.if defined(WITH_SCHEMA) +CONFIGURE_ARGS+=3D --with-schemas +.endif + +.if defined(WITH_MEM_DEBUG) +CONFIGURE_ARGS+=3D --with-mem-debug +.endif + +.if defined(WITH_XMLLINT_HIST) +CONFIGURE_ARGS+=3D --with-history +.endif + +.if defined(WITH_THREADS) +CONFIGURE_ARGS+=3D --with-threads +.endif + +.if defined(WITH_THREAD_ALLOC) +CONFIGURE_ARGS+=3D --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=3Dyes = to command line" + @${ECHO_MSG} " WITHOUT_PYTHON=3Dyes Turns off Python support" + @${ECHO_MSG} " WITH_SCHEMA=3Dyes Turns on XML Schema support" + @${ECHO_MSG} " WITH_MEM_DEBUG=3Dyes Turns on memory debugging" + @${ECHO_MSG} " WITH_XMLLINT_HIST=3Dyes Turns on history for xmllint" + @${ECHO_MSG} " WITH_THREADS=3Dyes Turns on multi-threading support" + @${ECHO_MSG} " WITH_THREAD_ALLOC=3Dyes Turns on per-thread memory" @${ECHO_MSG} "" -.endif =20 pre-patch: @find ${WRKSRC} -name Makefile.in | xargs ${REINPLACE_CMD} -e \ --GmiNL4+5WUWrod5m-- --zH41lVBEV8cLJnCl Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Comment: Sean Chittenden <sean@chittenden.org> iD8DBQE9iMlVjoUuCl9bPssRAhPMAKCAwq/A+RxaOJPsaZu3h7HVC1bHFACfdL/L EqPQ/G30PNZSHyflXolMOJU= =G7N8 -----END PGP SIGNATURE----- --zH41lVBEV8cLJnCl-- 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?20020918184333.GQ99484>