pkgsrc/lang/tcl-itcl/patches/patch-aa

40 lines
1 KiB
Text

$NetBSD: patch-aa,v 1.2 2001/05/01 16:13:54 jtb Exp $
--- itcl/configure.orig Tue Aug 29 03:58:00 2000
+++ itcl/configure
@@ -1119,7 +1119,7 @@
;;
*)
CYGPATH=echo
- RELPATH=..
+ RELPATH=../..
;;
esac
@@ -1575,12 +1575,12 @@
# link against the non-stubbed Tcl library.
#--------------------------------------------------------------------
-if test "${SHARED_BUILD}" = "1" ; then
- cat >> confdefs.h <<\EOF
-#define USE_TCL_STUBS 1
-EOF
+# if test "${SHARED_BUILD}" = "1" ; then
+# cat >> confdefs.h <<\EOF
+# #define USE_TCL_STUBS 1
+# EOF
-fi
+# fi
#--------------------------------------------------------------------
# This macro generates a line to use when building a library. It
@@ -1598,7 +1598,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