mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-31 21:57:12 +00:00
8f7ae93769
PR: ports/8044 Submitted by: Taguchi Takeshi <taguchi@tohoku.iij.ad.jp>
39 lines
1.7 KiB
Plaintext
39 lines
1.7 KiB
Plaintext
--- ./unix/configure.in.ORIG Sun Sep 20 16:37:42 1998
|
|
+++ ./unix/configure.in Sun Sep 20 16:51:27 1998
|
|
@@ -34,12 +34,12 @@
|
|
#--------------------------------------------------------------------
|
|
|
|
AC_ARG_WITH(tcl, [ --with-tcl=DIR use Tcl 7.6 binaries from DIR],
|
|
- TCL_BIN_DIR=$withval, TCL_BIN_DIR=`cd ../../tcl7.6/unix; pwd`)
|
|
+ TCL_BIN_DIR=$withval, TCL_BIN_DIR=${prefix}/lib/tcl7.6jp)
|
|
if test ! -d $TCL_BIN_DIR; then
|
|
AC_MSG_ERROR(Tcl directory $TCL_BIN_DIR doesn't exist)
|
|
fi
|
|
-if test ! -f $TCL_BIN_DIR/Makefile; then
|
|
- AC_MSG_ERROR(There's no Makefile in $TCL_BIN_DIR; perhaps you didn't specify the Tcl *build* directory (not the toplevel Tcl directory) or you forgot to configure Tcl?)
|
|
+if test ! -f $TCL_BIN_DIR/tclConfig.sh; then
|
|
+ AC_MSG_ERROR(There's no tclConfig.sh in $TCL_BIN_DIR; perhaps you didn't specify the Tcl *build* directory (not the toplevel Tcl directory) or you forgot to configure Tcl, or you did not use ports?)
|
|
fi
|
|
|
|
#--------------------------------------------------------------------
|
|
@@ -298,7 +298,11 @@
|
|
if test "$ok" = "yes" -a "${SHLIB_SUFFIX}" != ""; then
|
|
TK_SHLIB_CFLAGS="${SHLIB_CFLAGS}"
|
|
eval "TK_LIB_FILE=libtk${TCL_SHARED_LIB_SUFFIX}"
|
|
+ if test "X$PORTOBJFORMAT" = "Xelf"; then
|
|
+ MAKE_LIB="\${SHLIB_LD} -o ${TK_LIB_FILE} -Wl,-soname,${TK_LIB_FILE} \${OBJS} ${SHLIB_LD_LIBS}"
|
|
+ else
|
|
MAKE_LIB="\${SHLIB_LD} -o ${TK_LIB_FILE} \${OBJS} ${SHLIB_LD_LIBS}"
|
|
+ fi
|
|
RANLIB=":"
|
|
else
|
|
TK_SHLIB_CFLAGS=""
|
|
@@ -330,6 +334,7 @@
|
|
AC_SUBST(SHLIB_VERSION)
|
|
AC_SUBST(TCL_BIN_DIR)
|
|
AC_SUBST(TCL_BUILD_LIB_SPEC)
|
|
+AC_SUBST(TCL_LIB_SPEC)
|
|
AC_SUBST(TCL_SRC_DIR)
|
|
AC_SUBST(TCL_VERSION)
|
|
AC_SUBST(TK_BUILD_LIB_SPEC)
|