summaryrefslogtreecommitdiff
path: root/lang/tcl-itcl-current/patches/patch-aa
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2004-09-24 21:16:02 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2004-09-24 21:16:02 +0000
commit374f50660abe6c3813023cb2d2805bf3fc2683a8 (patch)
treeba4d6477cc4087a6423fb88e8878fb85df156325 /lang/tcl-itcl-current/patches/patch-aa
parent5d9dee37490eb82bf14e2166ba157864a242f668 (diff)
downloadpkgsrc-374f50660abe6c3813023cb2d2805bf3fc2683a8.tar.gz
import tcl-itcl-current-20040920. This is a snapshot from the [incr Tcl] CVS
repository. They have not made a release in years but development has continued. The largest item of note is this version works with tcl-8.4. [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. This package is based on CVS sources for [incr Tcl].
Diffstat (limited to 'lang/tcl-itcl-current/patches/patch-aa')
-rw-r--r--lang/tcl-itcl-current/patches/patch-aa24
1 files changed, 24 insertions, 0 deletions
diff --git a/lang/tcl-itcl-current/patches/patch-aa b/lang/tcl-itcl-current/patches/patch-aa
new file mode 100644
index 00000000000..372935730f7
--- /dev/null
+++ b/lang/tcl-itcl-current/patches/patch-aa
@@ -0,0 +1,24 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/09/24 21:16:02 dmcmahill Exp $
+
+--- itcl/configure.orig Wed Sep 8 01:23:50 2004
++++ itcl/configure
+@@ -5883,7 +5883,7 @@ echo $ECHO_N "checking for Tcl private i
+
+ TCL_INCLUDES="-I${TCL_GENERIC_DIR_NATIVE} -I${TCL_PLATFORM_DIR_NATIVE}"
+ else
+- TCL_TOP_DIR_NATIVE='$(TCL_SRC_DIR)'
++ TCL_TOP_DIR_NATIVE='$(TCL_HEADER_DIR)'
+ TCL_GENERIC_DIR_NATIVE='${TCL_TOP_DIR_NATIVE}/generic'
+ TCL_UNIX_DIR_NATIVE='${TCL_TOP_DIR_NATIVE}/unix'
+ TCL_WIN_DIR_NATIVE='${TCL_TOP_DIR_NATIVE}/win'
+@@ -8591,8 +8591,8 @@ fi
+ MAKE_STUB_LIB="\${STLIB_LD} -out:\$@ \$(PKG_STUB_OBJECTS)"
+ else
+ MAKE_STATIC_LIB="\${STLIB_LD} \$@ \$(PKG_OBJECTS)"
+- MAKE_SHARED_LIB="\${SHLIB_LD} -o \$@ \$(PKG_OBJECTS) \${SHLIB_LD_FLAGS} \${SHLIB_LD_LIBS}"
+- MAKE_STUB_LIB="\${STLIB_LD} \$@ \$(PKG_STUB_OBJECTS)"
++ MAKE_SHARED_LIB="\${SHLIB_LD} -o \${@:C/\.so.*/.la/} \${PKG_OBJECTS:.o=.lo} \${SHLIB_LDFLAGS} \${SHLIB_LD_LIBS} -version-info 0:0"
++ MAKE_STUB_LIB="\${SHLIB_LD} -o \${@:C/\.so.*/.la/} \${PKG_STUB_OBJECTS:.o=.lo} \${SHLIB_LDFLAGS} \${SHLIB_LD_LIBS} -version-info 0:0"
+ fi
+
+ if test "${SHARED_BUILD}" = "1" ; then