freebsd-ports/lang/tclX/files/patch-ac
Justin M. Seger cb6388104e Unbreak and upgrade tclX80 to 8.0.4
PR:		ports/13544
Submitted by:	Ade Lovett <ade@lovett.com>
1999-09-02 21:59:34 +00:00

33 lines
1.3 KiB
Plaintext

--- ../tk/unix/Makefile.in.orig Sun Dec 6 21:47:30 1998
+++ ../tk/unix/Makefile.in Fri Aug 27 10:37:45 1999
@@ -85,7 +85,7 @@
# If a link fails, purge the executable, as some systems leave invalid
# executables around.
#
-all: wishx RUNTIME tktest
+all: wishx RUNTIME
static: wishx.static tktest.static
@@ -112,6 +112,7 @@
${TCL_SHLIB_LD} -o ${TKX_SHLIB_NAME} ${SOBJS} \
${TK_BUILD_LIB_SPEC} ${TCLX_BUILD_LIB_SPEC} \
${TCL_BUILD_LIB_SPEC} ${TCL_SHLIB_LD_LIBS}
+ ln -sf ${TKX_SHLIB_NAME} `echo ${TKX_SHLIB_NAME} | sed 's/\.so.*$$/.so/'`
hello: hello.c
${CC} ${LD_SWITCHES} -o $@ hello.c ${STATIC_LIBS}
@@ -223,9 +224,11 @@
${INSTCOPY} ${TKX_STLIB_NAME} ${INSTALL_ROOT}${TKX_INST_LIB}; \
${RANLIB} ${INSTALL_ROOT}${TKX_INST_LIB}/${TKX_STLIB_NAME}; \
fi
- ${INSTCOPY} tkxConfig.sh ${INSTALL_ROOT}${TKX_INST_LIB}
+ ${INSTCOPY} tkxConfig.sh ${INSTALL_ROOT}${TKX_INST_RUNTIME}
if test "@BUILD_SHARED@" = "YES"; then \
${INSTCOPY} ${TKX_SHLIB_NAME} ${INSTALL_ROOT}${TKX_INST_LIB} ;\
+ (cd ${INSTALL_ROOT}${TKX_INST_LIB} && \
+ ln -sf ${TKX_SHLIB_NAME} `echo ${TKX_SHLIB_NAME} | sed 's/\.so.*$$/.so/'`) ;\
${INSTCOPY} pkgIndex.tcl ${INSTALL_ROOT}${TKX_EXEC_RUNTIME} ;\
fi
${INSTCOPY} tclhelp ${INSTALL_ROOT}${TKX_INST_BIN}