pkgsrc/lang/tcl-itcl/patches/patch-ac
jtb 2973df2fb0 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.
2001-02-23 20:36:24 +00:00

31 lines
936 B
Text

$NetBSD: patch-ac,v 1.1.1.1 2001/02/23 20:36:30 jtb Exp $
--- itk/configure.orig Tue Aug 29 15:58:00 2000
+++ itk/configure Fri Nov 10 01:11:17 2000
@@ -1119,7 +1119,7 @@
;;
*)
CYGPATH=echo
- RELPATH=..
+ RELPATH=../..
;;
esac
@@ -1902,7 +1902,7 @@
;;
*)
MAKE_STATIC_LIB="\${STLIB_LD} \$@ \$(\$@_OBJECTS)"
- MAKE_SHARED_LIB="\${SHLIB_LD} -o \$@ \$(\$@_OBJECTS) \${SHLIB_LDFLAGS} \${SHLIB_LD_LIBS}"
+ MAKE_SHARED_LIB="\${SHLIB_LD} -o \${@:C/\.so.*/.la/} \${\$@_OBJECTS:.o=.lo} \${SHLIB_LDFLAGS} \${SHLIB_LD_LIBS} -version-info 0:0"
;;
esac
@@ -1941,7 +1941,7 @@
;;
*)
if test "${SHARED_BUILD}" = "1" ; then
- SHLIB_LD_LIBS="${tkstub_LIB_SPEC} ${TCL_STUB_LIB_SPEC} ../itcl/${itclstub_LIB_FILE}"
+ SHLIB_LD_LIBS="${tkstub_LIB_SPEC} ${TCL_STUB_LIB_SPEC} ../itcl/itclStubLib.lo"
eval "${PACKAGE}_LIB_FILE=lib${PACKAGE}${SHARED_LIB_SUFFIX}"
RANLIB=:
else