kumquat-buildroot/package/expect/expect-0002-allow-tcl-build-directory.patch
Andrew Ruder 744e91878a expect: new package 5.45
Signed-off-by: Andrew Ruder <andrew.ruder@elecsyscorp.com>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-04-10 23:26:04 +02:00

35 lines
1.2 KiB
Diff

From: Andrew Ruder <andrew.ruder@elecsyscorp.com>
Subject: [PATCH] Allow tcl build directory for linking
Some small changes to use TCL_BUILD_LIB_SPEC instead of TCL_LIB_SPEC for
linking against tcl directly out of its build directory.
Signed-off-by: Andrew Ruder <andrew.ruder@elecsyscorp.com>
---
Index: expect-5.45/Makefile.in
===================================================================
--- expect-5.45.orig/Makefile.in 2013-11-14 07:59:58.732100595 -0600
+++ expect-5.45/Makefile.in 2013-11-14 07:59:58.732100595 -0600
@@ -393,7 +393,7 @@
@LDFLAGS_DEFAULT@ \
-o expect exp_main_exp.o \
@EXP_BUILD_LIB_SPEC@ \
- @TCL_LIB_SPEC@ \
+ @TCL_BUILD_LIB_SPEC@ \
@TCL_DL_LIBS@ @PKG_LIBS@ @MATH_LIBS@ \
@TCL_CC_SEARCH_FLAGS@ \
@EXP_CC_SEARCH_FLAGS@
Index: expect-5.45/tclconfig/tcl.m4
===================================================================
--- expect-5.45.orig/tclconfig/tcl.m4 2010-11-09 13:42:10.000000000 -0600
+++ expect-5.45/tclconfig/tcl.m4 2013-11-14 08:02:08.424100580 -0600
@@ -412,6 +412,7 @@
AC_SUBST(TCL_LIB_FILE)
AC_SUBST(TCL_LIB_FLAG)
AC_SUBST(TCL_LIB_SPEC)
+ AC_SUBST(TCL_BUILD_LIB_SPEC)
AC_SUBST(TCL_STUB_LIB_FILE)
AC_SUBST(TCL_STUB_LIB_FLAG)