openbsd-ports/cad/xcircuit/patches/patch-configure_in
stu 1d370e8764 Update to xcircuit-3.7.48.
Thanks to Gonzalo L. R. for the patch.

ok landry@
2013-02-07 22:49:22 +00:00

17 lines
544 B
Plaintext

$OpenBSD: patch-configure_in,v 1.5 2013/02/07 22:49:22 stu Exp $
--- configure.in.orig Wed Aug 15 07:45:19 2012
+++ configure.in Mon Feb 4 13:38:41 2013
@@ -740,6 +740,12 @@ if test "x$xc_with_tcl" != "x" ; then
fi
if test "x$xc_with_tcl" != "x" ; then
+ # Tcl and Tk's lib versions can differ on some systems
+ case $target in
+ *-openbsd*)
+ SHDLIB_EXT=".so.${TK_LIB_FILE##*.so.}"
+ ;;
+ esac
if test "x${xc_with_tk_libraries}" != "x" ; then
for libname in \
"${xc_with_tk_libraries}/lib${TK_LIB_NAME}${SHDLIB_EXT}"