Subject: www/thttpd build error - not sure of correct fix
To: None <tech-pkg@netbsd.org>
From: Greg Troxel <gdt@ir.bbn.com>
List: tech-pkg
Date: 12/19/2005 15:24:33
www/thttpd doesn't build, failing to install sitedrivenby.gif at
install time.  The file is in DISTDIR/DISTSUBDIR, not DISTDIR, so the
code in Makefile is wrong.  It seems to work to just use _DISTDIR, but
it feels icky to use an internal variable.

OK to commit?  PKGREVISION bump seems unnecessary, since the current
version won't install.


--- Makefile.~1.35.~	2005-12-15 14:46:19.000000000 -0500
+++ Makefile	2005-12-19 15:18:04.000000000 -0500
@@ -54,6 +54,6 @@
 post-install:
 	${INSTALL_DATA} ${WRKDIR}/thttpd.conf ${PREFIX}/share/examples
 	${INSTALL_DATA} ${WRKSRC}/index.html ${PREFIX}/share/thttpd
-	${INSTALL_DATA} ${DISTDIR}/sitedrivenby.gif ${PREFIX}/share/thttpd
+	${INSTALL_DATA} ${_DISTDIR}/sitedrivenby.gif ${PREFIX}/share/thttpd
 
 .include "../../mk/bsd.pkg.mk"