patch-configure 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. $OpenBSD: patch-configure,v 1.7 2012/04/28 18:06:29 stu Exp $
  2. --- configure.orig Sun Sep 5 00:33:59 2010
  3. +++ configure Mon Apr 23 11:16:49 2012
  4. @@ -4814,6 +4814,7 @@ TCL_OLD_ALT_VERS=`echo $TCL_OLD_VERS | sed 's/\.//'`
  5. TCL_TCL_PLACES_D="$d \
  6. + $d/lib/tcl/tcl$TCL_VERS \
  7. $d/lib64/tcl$TCL_HI_VERS \
  8. $d/lib64/tcl$TCL_VERS \
  9. $d/lib64/tcl$TCL_ALT_VERS \
  10. @@ -5429,6 +5430,7 @@ TK_OLD_VERS=8.4
  11. TK_OLD_ALT_VERS=`echo $TK_OLD_VERS | sed 's/\.//'`
  12. TK_TCL_PLACES_D="$d \
  13. + $d/lib/tcl/tk$TK_VERS \
  14. $d/lib64/tk$TK_VERS \
  15. $d/lib64/tk$TK_ALT_VERS \
  16. $d/lib64/tk$TK_HI_VERS \
  17. @@ -6866,9 +6868,9 @@ fi
  18. if test "x$ac_cv_header_dlfcn_h" = x""yes; then
  19. SHLIB_CFLAGS="-fpic"
  20. - SHLIB_LD="ld -Bshareable -x"
  21. + SHLIB_LD="cc -shared"
  22. SHLIB_LD_LIBS=""
  23. - SHLIB_SUFFIX=".so"
  24. + SHLIB_SUFFIX=".so.${LIBotcl_VERSION}"
  25. DL_LIBS=""
  26. DL_LD_FLAGS=""
  27. DL_LD_SEARCH_FLAGS=""
  28. @@ -7122,9 +7124,6 @@ fi
  29. #
  30. INST_OLIBSH="${prefix}/lib"
  31. -if test -d ${prefix}/shlib ; then
  32. - INST_OLIBSH="${prefix}/shlib"
  33. -fi