Subject: Re: tcl build broken
To: None <jwise@NetBSD.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 10/07/2005 10:05:21
On Fri, 7 Oct 2005, Perry E. Metzger wrote:

> your revision 1.1722 to bsd.pkg.mk, which does:
>
> CONFIGURE_ARGS+=     --mandir=${PREFIX}/${PKGMANDIR}
>
> breaks the build of tcl. Unfortunately, tcl is a pretty important
> package.
>
> I don't suppose you could fix this?

I see my pkgsrc tree already had the following patches (and I just tested 
lang/tcl with it to install and package).

Jim: may I commit this?

cvs diff: Diffing lang/tcl
Index: lang/tcl/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/lang/tcl/Makefile,v
retrieving revision 1.53
diff -b -u -r1.53 Makefile
--- lang/tcl/Makefile	31 Aug 2005 09:40:15 -0000	1.53
+++ lang/tcl/Makefile	7 Oct 2005 17:02:41 -0000
@@ -63,8 +63,6 @@
  		${MV} ${WRKSRC}/tclConfig.sh.tmp ${WRKSRC}/tclConfig.sh

  post-install:
-	cd ${WRKDIR} && ${PAX} -rwpm man ${PREFIX}
-	${RM} -rf ${WRKDIR}/man
  	cd ${PREFIX}/bin && ${LN} -s tclsh8.4 tclsh
  	${INSTALL_DATA_DIR} ${PREFIX}/include/tcl
  	${INSTALL_DATA_DIR} ${PREFIX}/include/tcl/unix
cvs diff: Diffing lang/tcl/patches
cvs diff: Diffing lang/tcl83
Index: lang/tcl83/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/lang/tcl83/Makefile,v
retrieving revision 1.10
diff -b -u -r1.10 Makefile
--- lang/tcl83/Makefile	31 Aug 2005 09:40:15 -0000	1.10
+++ lang/tcl83/Makefile	7 Oct 2005 17:02:41 -0000
@@ -77,8 +77,6 @@
  		${MV} ${WRKSRC}/tclConfig.sh.tmp ${WRKSRC}/tclConfig.sh

  post-install:
-	cd ${WRKDIR} && ${PAX} -rwpm man ${PREFIX}
-	${RM} -rf ${WRKDIR}/man
  	cd ${PREFIX}/bin && ${LN} -s tclsh8.3 tclsh
  	${INSTALL_DATA_DIR} ${PREFIX}/include/tcl
  	${INSTALL_DATA_DIR} ${PREFIX}/include/tcl/unix
cvs diff: Diffing lang/tcl83/patches


  Jeremy C. Reed

  	  	 	 technical support & remote administration
 	  	 	 http://www.pugetsoundtechnology.com/