Subject: Re: x11/tk no longer building for me in -current
To: Hisashi T Fujinaka <htodd@twofifty.com>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 10/10/2005 10:08:36
On Sun, 9 Oct 2005, Hisashi T Fujinaka wrote:

> cd /var/obj/pkg/x11/tk/work.i386 && /bin/pax -rwpm man /usr/pkg
> pax: Unable to access man (No such file or directory)
> pax: WARNING! These file names were not selected:
> man

tk doesn't need this man pages hack any more. I have this in my pkgsrc. I 
will test one more time (since my tk was from older distfile) and commit.

Index: x11/tk/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/x11/tk/Makefile,v
retrieving revision 1.49
diff -b -u -r1.49 Makefile
--- x11/tk/Makefile	8 Sep 2005 21:25:15 -0000	1.49
+++ x11/tk/Makefile	10 Oct 2005 17:07:39 -0000
@@ -26,10 +26,6 @@

  TEST_TARGET=		test

-# Initially install the man pages into ${WRKDIR}/man, as we need a staged
-# install to avoid overwriting existing manpages in ${PREFIX}/man.
-CONFIGURE_ARGS+=	--mandir=${WRKDIR:Q}/man
-
  .include "../../lang/tcl/buildlink3.mk"
  .include "../../mk/pthread.buildlink3.mk"
  .include "../../mk/x11.buildlink3.mk"
@@ -42,8 +38,6 @@
  		${MV} ${WRKSRC}/tkConfig.sh.tmp ${WRKSRC}/tkConfig.sh

  post-install:
-	cd ${WRKDIR} && ${PAX} -rwpm man ${PREFIX}
-	${RM} -rf ${WRKDIR}/man
  	${RM} -f ${PREFIX}/bin/wish
  	cd ${PREFIX}/bin && ${LN} -s wish8.4 wish
  	${INSTALL_DATA_DIR} ${PREFIX}/include/tk

  Jeremy C. Reed

  	  	 	 Media Relations and Publishing Services
 	  	 	 http://www.reedmedia.net/