diff options
author | jtb <jtb@pkgsrc.org> | 2001-05-01 01:57:29 +0000 |
---|---|---|
committer | jtb <jtb@pkgsrc.org> | 2001-05-01 01:57:29 +0000 |
commit | b7e98d602be4df0d1d20793ab91e2b3cca822c0e (patch) | |
tree | c26ea9f33d472ce48b25e89ab2e56c05b34983f1 | |
parent | e4cf0afce04a6e4423ba095689ab35d577e0aa5a (diff) | |
download | pkgsrc-b7e98d602be4df0d1d20793ab91e2b3cca822c0e.tar.gz |
Make it build by providing the source to tcl and tk at build time.
Similar to what Nick Hudson did for tcl-tclX.
-rw-r--r-- | lang/tcl-itcl/Makefile | 25 | ||||
-rw-r--r-- | lang/tcl-itcl/pkg/PLIST | 14 |
2 files changed, 31 insertions, 8 deletions
diff --git a/lang/tcl-itcl/Makefile b/lang/tcl-itcl/Makefile index 2721a91937f..b4fb17a7d63 100644 --- a/lang/tcl-itcl/Makefile +++ b/lang/tcl-itcl/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2001/02/23 20:36:24 jtb Exp $ +# $NetBSD: Makefile,v 1.2 2001/05/01 01:57:29 jtb Exp $ DISTNAME= itcl3.2 PKGNAME= tcl-itcl-3.2 @@ -16,4 +16,27 @@ GNU_CONFIGURE= yes USE_LIBTOOL= yes CONFIGURE_ARGS= --enable-shared +CONFIGURE_ENV+= TCL_SRC_DIR="${BUILD_ROOT}/lang/tcl/${WRKDIR:T}/tcl8.3.2" +CONFIGURE_ENV+= TK_SRC_DIR="${BUILD_ROOT}/x11/tk/${WRKDIR:T}/tk8.3.2" + +post-extract: + @${MV} -f ${WRKSRC}/iwidgets3.0.0/doc/dialog.n \ + ${WRKSRC}/iwidgets3.0.0/doc/itcldialog.n + @${MV} -f ${WRKSRC}/iwidgets3.0.0/doc/menubar.n \ + ${WRKSRC}/iwidgets3.0.0/doc/itclmenubar.n + @${MV} -f ${WRKSRC}/iwidgets2.2.0/doc/dialog.n \ + ${WRKSRC}/iwidgets2.2.0/doc/itcldialog.n + @${MV} -f ${WRKSRC}/iwidgets2.2.0/doc/menubar.n \ + ${WRKSRC}/iwidgets2.2.0/doc/itclmenubar.n + @if [ ! -e ${BUILD_ROOT}/lang/tcl/${WRKDIR:T}/tcl8.3.2 ]; then \ + cd ../../lang/tcl && ${MAKE} extract; \ + fi + @if [ ! -e ${BUILD_ROOT}/x11/tk/${WRKDIR:T}/tk8.3.2 ]; then \ + cd ../../x11/tk && ${MAKE} extract; \ + fi + +pre-clean: + @cd ../../lang/tcl && ${MAKE} clean + @cd ../../x11/tk && ${MAKE} clean + .include "../../mk/bsd.pkg.mk" diff --git a/lang/tcl-itcl/pkg/PLIST b/lang/tcl-itcl/pkg/PLIST index 337e7961553..b60a2c1ed3b 100644 --- a/lang/tcl-itcl/pkg/PLIST +++ b/lang/tcl-itcl/pkg/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2001/02/23 20:36:28 jtb Exp $ +@comment $NetBSD: PLIST,v 1.2 2001/05/01 01:57:29 jtb Exp $ include/itcl.h include/itclDecls.h include/itclInt.h @@ -323,14 +323,14 @@ lib/tcl/iwidgets3.0.1/iwidgets.tcl lib/tcl/iwidgets3.0.1/pkgIndex.tcl lib/tcl/iwidgets3.0.1/license.terms lib/libitcl32.so -lib/libitcl32.so.1 -lib/libitcl32.so.1.0 +lib/libitcl32.so.0 +lib/libitcl32.so.0.0 lib/libitcl32.la lib/libitcl32.a lib/libitclstub32.a lib/libitk32.so -lib/libitk32.so.1 -lib/libitk32.so.1.0 +lib/libitk32.so.0 +lib/libitk32.so.0.0 lib/libitk32.la lib/libitk32.a lib/libitkstub32.a @@ -358,7 +358,7 @@ man/mann/canvasprintbox.n man/mann/shell.n man/mann/canvasprintdialog.n man/mann/combobox.n -man/mann/dialog.n +man/mann/itcldialog.n man/mann/dialogshell.n man/mann/entryfield.n man/mann/feedback.n @@ -366,7 +366,7 @@ man/mann/fileselectionbox.n man/mann/fileselectiondialog.n man/mann/hyperhelp.n man/mann/labeledwidget.n -man/mann/menubar.n +man/mann/itclmenubar.n man/mann/messagedialog.n man/mann/notebook.n man/mann/optionmenu.n |