Subject: pkgsrc/www/tidy & shared lib
To: None <>
From: Hubert Feyrer <>
List: tech-pkg
Date: 12/13/2005 17:28:05

I'm writing you as the maintainer of pkgsrc/www/tidy. Someone complained 
that the package doesn't install a shared library and I did some digging.
Apparently there's everything in place to actually build a shared library 
(w/ libtool), it just has to be used. Only drawback is that it doesn't 
build manpages etc. any more, what the 'doc' target does.

The patch below gets the shared library building straight, I couldn't 
figure out getting the docs (manpage tidy.1, and some other file) built.
Maybe you want to have a look at this, and get back to me when you've 
figured this out? That would be great, thanks!

  - Hubert

Index: Makefile
RCS file: /cvsroot/pkgsrc/www/tidy/Makefile,v
retrieving revision 1.21
diff -u -r1.21 Makefile
--- Makefile	5 Dec 2005 20:51:14 -0000	1.21
+++ Makefile	13 Dec 2005 16:26:17 -0000
@@ -17,9 +17,9 @@
  BUILD_DEPENDS+=	libxslt>=1.1.0:../../textproc/libxslt

  WRKSRC=		${WRKDIR}/tidy
-USE_TOOLS+=	gmake
-BUILD_DIRS=	${WRKSRC}/build/gmake
+USE_TOOLS+=	gmake automake autoconf

  MAKEFLAGS.Darwin+=	RANLIB=ranlib
@@ -28,7 +28,10 @@
  		faq.html license.html pending.html release-notes.html tidy.gif
  HTML_DOCDIR=	${PREFIX}/share/doc/html/tidy

+	cd ${BUILD_DIRS} && ${SH} build/gnuauto/ 
  	cd ${BUILD_DIRS} && ${GMAKE} doc