diff options
author | jtb <jtb> | 2001-02-23 20:36:24 +0000 |
---|---|---|
committer | jtb <jtb> | 2001-02-23 20:36:24 +0000 |
commit | 51fe642bd6ea960e93b97a317a276b9fe5e9125e (patch) | |
tree | e49fccca27e9ac607b5b8f2da1452b1467f83f4e /lang/tcl-itcl/patches/patch-ab | |
parent | 9a84554f77a162fedac87c9ed35fdc3a735dfaed (diff) | |
download | pkgsrc-51fe642bd6ea960e93b97a317a276b9fe5e9125e.tar.gz |
Initial import of tcl-itcl. Package submitted by Mark Davies
<mark@MCS.VUW.AC.NZ> in PR pkg/12060. Some minor adjustments by me.
[incr Tcl] provides the extra language support needed to build large Tcl/Tk
applications. It introduces the notion of objects, which act as building
blocks for an application. Each object is a bag of data with a set of
procedures or "methods" that are used to manipulate it. Objects are organized
into "classes" with identical characteristics, and classes can inherit
functionality from one another. This object-oriented paradigm adds another
level of organization on top of the basic variable/procedure elements, and
the resulting code is easier to understand and maintain.
Diffstat (limited to 'lang/tcl-itcl/patches/patch-ab')
-rw-r--r-- | lang/tcl-itcl/patches/patch-ab | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/lang/tcl-itcl/patches/patch-ab b/lang/tcl-itcl/patches/patch-ab new file mode 100644 index 00000000000..872a181f722 --- /dev/null +++ b/lang/tcl-itcl/patches/patch-ab @@ -0,0 +1,71 @@ +$NetBSD: patch-ab,v 1.1.1.1 2001/02/23 20:36:30 jtb Exp $ + +--- itcl/Makefile.in.orig Tue Aug 29 15:58:00 2000 ++++ itcl/Makefile.in Thu Nov 9 23:54:52 2000 +@@ -115,7 +115,7 @@ + + SAMPLE_NEW_VAR=@SAMPLE_NEW_VAR@ + +-ITCL_LIBRARY = $(prefix)/lib/itcl$(VERSION) ++ITCL_LIBRARY = $(prefix)/lib/tcl/itcl$(VERSION) + + ITCL_GENERIC_DIR_NATIVE = @ITCL_GENERIC_DIR_NATIVE@ + ITCL_UNIX_DIR_NATIVE = @ITCL_UNIX_DIR_NATIVE@ +@@ -150,16 +150,16 @@ + DESTDIR = + + pkgdatadir = $(datadir)/@PACKAGE@@VERSION@ +-pkglibdir = $(libdir)/@PACKAGE@@VERSION@ ++pkglibdir = $(libdir)/tcl/@PACKAGE@@VERSION@ + pkgincludedir = $(includedir)/@PACKAGE@@VERSION@ + + top_builddir = . + + #INSTALL = $(top_srcdir)/../config/install-sh -c +-INSTALL = $(TCLSH_PROG) `@CYGPATH@ $(srcdir)/../config/installFile.tcl` -c +-INSTALL_PROGRAM = @INSTALL_PROGRAM@ +-INSTALL_DATA = @INSTALL_DATA@ +-INSTALL_SCRIPT = @INSTALL_SCRIPT@ ++INSTALL = ${LIBTOOL} --mode=install ${BSD_INSTALL} ++INSTALL_PROGRAM = ${LIBTOOL} --mode=install ${BSD_INSTALL_PROGRAM} ++INSTALL_DATA = ${LIBTOOL} --mode=install ${BSD_INSTALL_DATA} ++INSTALL_SCRIPT = ${LIBTOOL} --mode=install ${BSD_INSTALL_SCRIPT} + INSTALL_STRIP_FLAG = + transform = @program_transform_name@ + +@@ -172,7 +172,7 @@ + + PACKAGE = @PACKAGE@ + VERSION = @VERSION@ +-CC = @CC@ ++CC = ${LIBTOOL} --mode=compile @CC@ + CFLAGS_DEBUG = @CFLAGS_DEBUG@ + CFLAGS_DEFAULT = @CFLAGS_DEFAULT@ + CFLAGS_OPTIMIZE = @CFLAGS_OPTIMIZE@ +@@ -187,7 +187,7 @@ + OBJEXT = @OBJEXT@ + RANLIB = @RANLIB@ + SHLIB_CFLAGS = @SHLIB_CFLAGS@ +-SHLIB_LD = @SHLIB_LD@ ++SHLIB_LD = ${LIBTOOL} --mode=link @CC@ -rpath ${PREFIX}/lib + SHLIB_LDFLAGS = @SHLIB_LDFLAGS@ + SHLIB_LD_LIBS = @SHLIB_LD_LIBS@ + STLIB_LD = @STLIB_LD@ +@@ -230,7 +230,7 @@ + AR = ar + CFLAGS = @CFLAGS@ + COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +-CCLD = $(CC) ++CCLD = ${LIBTOOL} --mode=link @CC@ + LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ + + #======================================================================== +@@ -420,7 +420,7 @@ + #======================================================================== + + install-lib-binaries: installdirs +- @list='$(lib_BINARIES)'; for p in $$list; do \ ++ @list='${itcl_LIB_FILE:C/\.so.*/.la/} $(lib_BINARIES)'; for p in $$list; do \ + if test -f $$p; then \ + ext=`echo $$p|sed -e "s/.*\.//"`; \ + if test "x$$ext" = "xdll"; then \ |