summaryrefslogtreecommitdiff
path: root/lang/tcl-tclX/patches/patch-ab
diff options
context:
space:
mode:
authorjwise <jwise@pkgsrc.org>2000-09-06 16:40:03 +0000
committerjwise <jwise@pkgsrc.org>2000-09-06 16:40:03 +0000
commit5fb3608e4f5523b795766d55019fee2d870c9e8e (patch)
treedda4bd6c43739ab11c12cc239a385ed9b92dbea3 /lang/tcl-tclX/patches/patch-ab
parentfa6fad862c136ee02643bf24a4fb7cfc19277179 (diff)
downloadpkgsrc-5fb3608e4f5523b795766d55019fee2d870c9e8e.tar.gz
Initial import of tcl-tclX-8.2.0, the tcl half of tclX. This package and
tk-tclX-8.2.0 supplant pkgsrc/lang/tclX80 (tclX-8.0.4). Changes to the tclX package since tclX-8.0.4: * This package is now split into two packages, tcl-tclX, and tk-tclX. tcl-tclX can be installed on systems without X11 (and by extension, without tk). Changes to tclX itself since tclX-8.0.4: =============================================================================== 19 Sept 98: o Fixed TclX copy of Tcl auto_load proc out of sync; this broken ITcl. ------------------------------------------------------------------------------- 20 Sept 98: o Include several Windows build fixes from Viktor Dukhovni <viktor@nyc.deshaw.com>. o Renamed --with-tk configure option to --enable-tk. Supplied by Viktor Dukhovni <viktor@nyc.deshaw.com>. ------------------------------------------------------------------------------- 28 Sept 98: o Handle systems that don't implement restart of system calls on signal. Added infox have_signal_restart. ------------------------------------------------------------------------------- 5 May 99: o Ported most commands work with 8.1 Unicode. o Completed port to 8.1. =============================================================================== 5 May 99: Released TclX 8.1.0 =============================================================================== 10 May 99: o Fixed tests to build when threads are enabled. o Pickup TK_LD_SEARCH_FLAGS in configure. ------------------------------------------------------------------------------- 22 June 99: o Moved TclX_AppendObjResult to be an external API for testing o Upgraded the patch levels to be "8.1.2" o Defined TclX_MainEx to take an interp as an argument. TclX_Main is now a macro that calls TclX_MainEx. When passing the interp argument, Tcl_CreateInterp() is called. This is done so TclX can use stubs. ------------------------------------------------------------------------------- 25 Jun 99: o TclX version numbering and library naming change. The third number is now the patch level. =============================================================================== 25 Jun 99: Released TclX 8.1.1 =============================================================================== 4 Jul 99: o Cleaned up configuration to work better with new Tcl autoconf macros. Deleted Config.mk, all configration variables are set in Common.mk. o --with-tcl and --with-tk now work. =============================================================================== 25 Jun 99: Released TclX 8.1.1 =============================================================================== =============================================================================== 6 Feb 2000: Released TclX 8.2.0 ===============================================================================
Diffstat (limited to 'lang/tcl-tclX/patches/patch-ab')
-rw-r--r--lang/tcl-tclX/patches/patch-ab105
1 files changed, 105 insertions, 0 deletions
diff --git a/lang/tcl-tclX/patches/patch-ab b/lang/tcl-tclX/patches/patch-ab
new file mode 100644
index 00000000000..c128f06c18e
--- /dev/null
+++ b/lang/tcl-tclX/patches/patch-ab
@@ -0,0 +1,105 @@
+$NetBSD: patch-ab,v 1.1.1.1 2000/09/06 16:40:05 jwise Exp $
+--- ../tcl/unix/Makefile.in.orig Sun Feb 6 19:53:59 2000
++++ ../tcl/unix/Makefile.in Tue Sep 5 19:23:03 2000
+@@ -142,30 +142,23 @@
+ standalone: tcl.standalone tclXtest.standalone hello
+
+ tcl: tclXAppInit.o @TCLX_SHLIB_BUILD_REF@ @TCLX_STLIB_BUILD_REF@ Makefile
+- ${CC} ${LD_SWITCHES} tclXAppInit.o ${ALL_LIBS} \
+- -o $@ || (rm -f $@; exit 1)
++ ${LD} tclXAppInit.o -o $@ ${TCLX_SHLIB_NAME:C/\.so.*/.la/} -L${PREFIX}/lib -rpath ${PREFIX}/lib -ltcl83 -lm
+
+ tcl.static: tclXAppInit.o @TCLX_STLIB_BUILD_REF@ Makefile
+- ${CC} ${LD_SWITCHES} tclXAppInit.o ${STATIC_LIBS} \
+- -o $@ || (rm -f $@; exit 1)
++ ${LD} ${LD_SWITCHES} tclXAppInit.o ${STATIC_LIBS} -o $@
+
+ tcl.standalone: tclXAppInitSA.o @TCLX_STLIB_BUILD_REF@ Makefile
+- ${CC} ${LD_SWITCHES} tclXAppInitSA.o ${STATIC_LIBS} \
+- -o $@ || (rm -f $@; exit 1)
++ ${LD} ${LD_SWITCHES} tclXAppInitSA.o ${STATIC_LIBS} -o $@
+
+ ${TCLX_STLIB_NAME}: ${OBJS}
+- ${AR} cr ${TCLX_STLIB_NAME} ${OBJS}
+- ${RANLIB} ${TCLX_STLIB_NAME}
++# ${AR} cr ${TCLX_STLIB_NAME} ${OBJS}
++# ${RANLIB} ${TCLX_STLIB_NAME}
+
+ @TCLX_SHLIB_BUILD_TARGET@: ${SOBJS}
+- rm -f ${TCLX_SHLIB_NAME}
+- PATH=${TCL_UNIX_DIR}:${PATH}; export PATH; \
+- TCL_LIBRARY=${TCL_UNIX_DIR}/../library; export TCL_LIBRARY; \
+- LD_LIBRARY_PATH=${TCL_UNIX_DIR}:${LD_LIBRARY_PATH}; export LD_LIBRARY_PATH; \
+- ${TCL_SHLIB_LD} -o ${TCLX_SHLIB_NAME} ${SOBJS} ${TCL_SHLIB_LD_LIBS}
++ ${LIBTOOL} @CC@ --mode=link -o ${TCLX_SHLIB_NAME:C/\.so.*/.la/} ${SOBJS:.o=.lo} -L${PREFIX}/lib -Wl,-R${PREFIX}/lib -rpath ${PREFIX}/lib -ltcl83 -lm -version-info 1:0
+
+ hello: hello.c
+- ${CC} ${LD_SWITCHES} -o $@ hello.c ${STATIC_LIBS}
++ ${LD} ${LD_SWITCHES} -o $@ hello.c ${STATIC_LIBS}
+
+ #------------------------------------------------------------------------------
+ # Do some special checks to make sure TclX is built ok.
+@@ -219,16 +212,13 @@
+ # Generate the test programs.
+ #
+ tclXtest: ${TEST_OBJS} ${TCLX_LIB_NAME}
+- ${CC} ${LD_SWITCHES} ${TEST_OBJS} ${ALL_LIBS} \
+- -o $@ || (rm -f $@; exit 1)
++ ${LD} ${TEST_OBJS} -o $@ ${TCLX_SHLIB_NAME:C/\.so.*/.la/} -L${PREFIX}/lib -rpath ${PREFIX}/lib -ltcl83 -lm
+
+ tclXtest.static: ${TEST_OBJS} ${TCLX_STLIB_NAME}
+- ${CC} ${LD_SWITCHES} ${TEST_OBJS} ${STATIC_LIBS} \
+- -o $@ || (rm -f $@; exit 1)
++ ${LD} ${LD_SWITCHES} ${TEST_OBJS} ${STATIC_LIBS} -o $@
+
+ tclXtest.standalone: ${TEST_SAOBJS} ${TCLX_STLIB_NAME}
+- ${CC} ${LD_SWITCHES} ${TEST_SAOBJS} ${STATIC_LIBS} \
+- -o $@ || (rm -f $@; exit 1)
++ ${LD} ${LD_SWITCHES} ${TEST_SAOBJS} ${STATIC_LIBS} -o $@
+
+ tclXtest.o: ${TCLX_GENERIC_DIR}/tclXtest.c
+ ${CC} -c ${CC_SWITCHES} ${TCLX_GENERIC_DIR}/tclXtest.c
+@@ -320,29 +310,24 @@
+
+ install-doc:
+
+-install-misc: buildhelp
+- ${INSTCOPY} ${TCLX_GENERIC_DIR}/tclExtend.h \
+- ${INSTALL_ROOT}${TCLX_INST_INCL}
+- ${INSTCOPY} ${TCLX_UNIX_SRC_DIR}/tclXAppInit.c \
+- ${INSTALL_ROOT}${TCLX_INST_RUNTIME}
+- ${INSTCOPY} ${HELP_DIR} ${INSTALL_ROOT}${TCLX_INST_RUNTIME}/help
++install-misc:
++ -${BSD_INSTALL_DATA_DIR} ${INSTALL_ROOT}${TCLX_INST_RUNTIME}
++ ${BSD_INSTALL_DATA} ${TCLX_GENERIC_DIR}/tclExtend.h ${INSTALL_ROOT}${TCLX_INST_INCL}
++ ${BSD_INSTALL_DATA} ${TCLX_UNIX_SRC_DIR}/tclXAppInit.c ${INSTALL_ROOT}${TCLX_INST_RUNTIME}
++ ${BSD_INSTALL_DATA_DIR} ${HELP_DIR} ${INSTALL_ROOT}${TCLX_INST_RUNTIME}/help
++ cd ${HELP_DIR} && ${GTAR} cf - . | (cd ${INSTALL_ROOT}${TCLX_INST_RUNTIME}/help && ${GTAR} xf -)
++ ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${INSTALL_ROOT}${TCLX_INST_RUNTIME}/help
+
+ install-runtime:
+- ${INSTCOPY} tclx.tcl tcl.tlib tcl.tndx buildidx.tcl autoload.tcl \
+- ${INSTALL_ROOT}${TCLX_INST_RUNTIME}
++ -${BSD_INSTALL_DATA_DIR} ${INSTALL_ROOT}${TCLX_INST_RUNTIME}
++ ${BSD_INSTALL_DATA} tclx.tcl tcl.tlib tcl.tndx buildidx.tcl autoload.tcl ${INSTALL_ROOT}${TCLX_INST_RUNTIME}
+
+ install-exec:
+- ${INSTCOPY} tcl ${INSTALL_ROOT}${TCLX_INST_BIN}
+- ${STRIP} ${INSTALL_ROOT}${TCLX_INST_BIN}/tcl
+- if test "X@TCLX_STLIB_BUILD_REF@" != "X"; then \
+- ${INSTCOPY} ${TCLX_STLIB_NAME} ${INSTALL_ROOT}${TCLX_INST_LIB}; \
+- ${RANLIB} ${INSTALL_ROOT}${TCLX_INST_LIB}/${TCLX_STLIB_NAME}; \
+- fi
+- ${INSTCOPY} tclxConfig.sh ${INSTALL_ROOT}${TCLX_INST_LIB}
+- if test "@SHARED_BUILD@" = "1"; then \
+- ${INSTCOPY} ${TCLX_SHLIB_NAME} ${INSTALL_ROOT}${TCLX_INST_LIB} ;\
+- ${INSTCOPY} pkgIndex.tcl ${INSTALL_ROOT}${TCLX_EXEC_RUNTIME} ;\
+- fi
++ -${BSD_INSTALL_DATA_DIR} ${INSTALL_ROOT}${TCLX_EXEC_RUNTIME}
++ ${LIBTOOL} --mode=install ${BSD_INSTALL_PROGRAM} tcl ${INSTALL_ROOT}${TCLX_INST_BIN}
++ ${BSD_INSTALL_SCRIPT} tclxConfig.sh ${INSTALL_ROOT}${TCLX_INST_LIB}
++ ${LIBTOOL} --mode=install ${BSD_INSTALL_DATA} ${TCLX_SHLIB_NAME:C/\.so.*/.la/} ${INSTALL_ROOT}${TCLX_INST_LIB} ;\
++ ${BSD_INSTALL_DATA} pkgIndex.tcl ${INSTALL_ROOT}${TCLX_EXEC_RUNTIME} ;\
+
+ #------------------------------------------------------------------------------
+ config: