summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornijtmans@users.sourceforge.net <jan.nijtmans>2014-04-01 08:24:40 (GMT)
committernijtmans@users.sourceforge.net <jan.nijtmans>2014-04-01 08:24:40 (GMT)
commit4557de50024b06fcdf20b32d285b2631fe0a8545 (patch)
treea7fc76bdaf1a2bf51e9df72879fdd9f71cf23819
parent57ff9987f5abd8ae21dedef42e3b552d74f57e6a (diff)
downloadtk-4557de50024b06fcdf20b32d285b2631fe0a8545.zip
tk-4557de50024b06fcdf20b32d285b2631fe0a8545.tar.gz
tk-4557de50024b06fcdf20b32d285b2631fe0a8545.tar.bz2
Fix [http://core.tcl.tk/tcl/info/5bcb5026ad|5bcb5026ad]: Undefined autotools token @TK_LIBS@ in pkgconfig file
-rw-r--r--unix/Makefile.in3
-rw-r--r--unix/tk.pc.in5
2 files changed, 5 insertions, 3 deletions
diff --git a/unix/Makefile.in b/unix/Makefile.in
index 30ba378..1fde28d 100644
--- a/unix/Makefile.in
+++ b/unix/Makefile.in
@@ -731,6 +731,9 @@ install-binaries: $(TK_STUB_LIB_FILE) $(TK_LIB_FILE) ${WISH_EXE}
@INSTALL_STUB_LIB@ ; \
fi
@EXTRA_INSTALL_BINARIES@
+ @echo "Installing pkg-config file to $(LIB_INSTALL_DIR)/pkgconfig/"
+ @$(INSTALL_DATA_DIR) $(LIB_INSTALL_DIR)/pkgconfig
+ @$(INSTALL_DATA) tk.pc $(LIB_INSTALL_DIR)/pkgconfig/tk.pc
install-libraries: libraries
@for i in "$(SCRIPT_INSTALL_DIR)" "$(SCRIPT_INSTALL_DIR)/images" \
diff --git a/unix/tk.pc.in b/unix/tk.pc.in
index d84a1cf..d3f590f 100644
--- a/unix/tk.pc.in
+++ b/unix/tk.pc.in
@@ -9,7 +9,6 @@ Name: The Tk Toolkit
Description: Tk is a cross-platform graphical user interface toolkit, the standard GUI not only for Tcl, but for many other dynamic languages as well.
URL: http://www.tcl.tk/
Version: @TK_VERSION@
-Requires:
-Conflicts:
-Libs: -L${libdir} @TK_LIBS@
+Requires: tcl
+Libs: -L${libdir} @TK_LIB_FLAG@ @XFT_LIBS@ @XLIBSW@
Cflags: -I${includedir}