/[packages]/cauldron/tk/current/SOURCES/tk8.6b1-soname.patch
ViewVC logotype

Contents of /cauldron/tk/current/SOURCES/tk8.6b1-soname.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1001 - (show annotations) (download)
Sat Jan 8 19:15:54 2011 UTC (11 years, 4 months ago) by blino
File size: 1036 byte(s)
imported package tk
1 --- tk8.5.0/unix/tcl.m4 2007-12-17 09:57:25.000000000 -0800
2 +++ tk8.5.0/unix/tcl.m4.new 2008-01-11 16:47:37.000000000 -0800
3 @@ -1427,6 +1427,8 @@
4 # get rid of the warnings.
5 #CFLAGS_OPTIMIZE="${CFLAGS_OPTIMIZE} -D__NO_STRING_INLINES -D__NO_MATH_INLINES"
6
7 + TK_SHLIB_LD_EXTRAS="-Wl,-soname,\${TK_LIB_FILE}.0"
8 +
9 SHLIB_LD='${CC} -shared ${CFLAGS} ${LDFLAGS}'
10 DL_OBJS="tclLoadDl.o"
11 DL_LIBS="-ldl"
12 --- tk8.5.2/unix/Makefile.in 2008-03-28 11:46:36.000000000 -0700
13 +++ tk8.5.2/unix/Makefile.in.new 2008-06-24 11:36:19.000000000 -0700
14 @@ -708,7 +708,7 @@
15 $(TCLVERSION)$(TCLPATCHL)}]} { return }";\
16 relative=`echo | awk '{ORS=" "; split("$(TK_PKG_DIR)",a,"/"); for (f in a) {print ".."}}'`;\
17 echo "package ifneeded Tk $(MAJOR_VERSION).$(MINOR_VERSION)$(PATCH_LEVEL)\
18 - [list load [file join \$$dir $${relative}$(TK_LIB_FILE)] Tk]";\
19 + [list load [file join \$$dir $${relative}$(TK_LIB_FILE).0] Tk]";\
20 ) > "$(PKG_INDEX)"; \
21 fi
22 @echo "Installing $(LIB_FILE) to $(LIB_INSTALL_DIR)/"

  ViewVC Help
Powered by ViewVC 1.1.28