aboutsummaryrefslogtreecommitdiff
path: root/lang/tclX/files
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2001-08-19 15:03:59 +0000
committerMikhail Teterin <mi@FreeBSD.org>2001-08-19 15:03:59 +0000
commit079e1e238956f3f4c3cff16424a25091b8173f3a (patch)
tree2677aceebd5469ebfc501708132239d20af2afef /lang/tclX/files
parent405b18363bf0a0cd23487ed3f85c46379b62ead4 (diff)
downloadports-079e1e238956f3f4c3cff16424a25091b8173f3a.tar.gz
ports-079e1e238956f3f4c3cff16424a25091b8173f3a.zip
Make sure the shared library is explicitly linked with -lm. On
some occasions, this prevent it from being loaded properly, even though other libs already loaded already bring in -lm. I don't understand the rtld :( Only build the Tk related help files, if WITHOUT_X11 is not specified. Previously they were built, but not installed. If you did not have Tk installed, that build failed for you -- see PR 29722... PR: ports/29722
Notes
Notes: svn path=/head/; revision=46480
Diffstat (limited to 'lang/tclX/files')
-rw-r--r--lang/tclX/files/patch-ab2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/tclX/files/patch-ab b/lang/tclX/files/patch-ab
index 9c0dfb7a7b08..a06c14156d7e 100644
--- a/lang/tclX/files/patch-ab
+++ b/lang/tclX/files/patch-ab
@@ -14,7 +14,7 @@
TCL_LIBRARY=${TCL_UNIX_DIR}/../library; export TCL_LIBRARY; \
LD_LIBRARY_PATH=${TCL_UNIX_DIR}:${LD_LIBRARY_PATH}; export LD_LIBRARY_PATH; \
- ${TCL_SHLIB_LD} -o ${TCLX_SHLIB_NAME} ${SOBJS} ${TCL_SHLIB_LD_LIBS}
-+ ${TCL_SHLIB_LD} -o ${TCLX_SHLIB_NAME} ${SOBJS} @NEED_TCL_STUB@
++ ${TCL_SHLIB_LD} -o ${TCLX_SHLIB_NAME} ${SOBJS} @NEED_TCL_STUB@ -lm
+ ln -sf ${TCLX_SHLIB_NAME} `echo ${TCLX_SHLIB_NAME} | sed 's/\.so.*$$/.so/'`
hello: hello.c