2df76eb0a7
ports With hat: portmgr
68 lines
2.2 KiB
Plaintext
68 lines
2.2 KiB
Plaintext
--- configure.in.orig Sat Jan 27 00:02:17 2007
|
|
+++ configure.in Sat Jan 27 00:02:49 2007
|
|
@@ -10,6 +10,7 @@
|
|
TK_MINOR_VERSION=0
|
|
TK_PATCH_LEVEL=".5"
|
|
VERSION=${TK_VERSION}
|
|
+TCL_L10N=jp
|
|
|
|
if test "${prefix}" = "NONE"; then
|
|
prefix=/usr/local
|
|
@@ -68,8 +69,8 @@
|
|
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?)
|
|
fi
|
|
|
|
#--------------------------------------------------------------------
|
|
@@ -104,6 +105,8 @@
|
|
CFLAGS_OPTIMIZE=$TCL_CFLAGS_OPTIMIZE
|
|
EXTRA_CFLAGS=$TCL_EXTRA_CFLAGS
|
|
|
|
+TCL_SRC_DIR=${prefix}/include/tcl${TCL_VERSION}
|
|
+
|
|
LIB_RUNTIME_DIR='${LIB_RUNTIME_DIR}'
|
|
|
|
# If Tcl and Tk are installed in different places, adjust the library
|
|
@@ -575,7 +574,7 @@
|
|
TK_SHARED_BUILD=1
|
|
TK_SHLIB_CFLAGS="${SHLIB_CFLAGS}"
|
|
TK_LIB_FILE=libtk${TCL_SHARED_LIB_SUFFIX}
|
|
- MAKE_LIB="\${SHLIB_LD} -o \${TK_LIB_FILE} \${OBJS} \$(TK_LD_SEARCH_FLAGS) ${SHLIB_LD_LIBS}"
|
|
+ MAKE_LIB="\${SHLIB_LD} -o \${TK_LIB_FILE} -Wl,-S,-soname=\${TK_LIB_FILE} \${OBJS} \$(TK_LD_SEARCH_FLAGS) ${SHLIB_LD_LIBS}"
|
|
RANLIB=":"
|
|
else
|
|
TK_SHARED_BUILD=0
|
|
@@ -584,7 +583,7 @@
|
|
MAKE_LIB="ar cr \${TK_LIB_FILE} \${OBJS}"
|
|
fi
|
|
|
|
-DBGX='${TK_DBGX}'
|
|
+DBGX="${TK_DBGX}"
|
|
eval "TK_LIB_FILE=${TK_LIB_FILE}"
|
|
|
|
# Note: in the following variable, it's important to use the absolute
|
|
@@ -617,10 +616,12 @@
|
|
AC_SUBST(SHLIB_VERSION)
|
|
AC_SUBST(TCL_BIN_DIR)
|
|
AC_SUBST(TCL_BUILD_LIB_SPEC)
|
|
+AC_SUBST(TCL_LIB_SPEC)
|
|
AC_SUBST(TCL_DBGX)
|
|
AC_SUBST(TCL_LIB_FLAG)
|
|
AC_SUBST(TCL_SRC_DIR)
|
|
AC_SUBST(TCL_VERSION)
|
|
+AC_SUBST(TCL_L10N)
|
|
AC_SUBST(TK_BUILD_LIB_SPEC)
|
|
AC_SUBST(TK_CC_SEARCH_FLAGS)
|
|
AC_SUBST(TK_LD_SEARCH_FLAGS)
|
|
@@ -637,4 +638,4 @@
|
|
AC_SUBST(XLIBSW)
|
|
AC_SUBST(TK_SHARED_BUILD)
|
|
AC_SUBST(X11_IMAKE_FLAGS)
|
|
-AC_OUTPUT(Makefile tkConfig.sh)
|
|
+AC_OUTPUT(Makefile tkConfig.sh ../README.FreeBSD.JP)
|