64 lines
2.9 KiB
Plaintext
64 lines
2.9 KiB
Plaintext
$OpenBSD: patch-lib_configure,v 1.7 2011/10/21 15:38:15 ajacoutot Exp $
|
|
--- lib/configure.orig Thu Oct 20 20:59:56 2011
|
|
+++ lib/configure Fri Oct 21 17:21:51 2011
|
|
@@ -18729,21 +18729,9 @@ else
|
|
ZLIB_HAS_PKGCONFIG=n
|
|
fi
|
|
|
|
-if test x$ac_zlib != xno; then
|
|
- if test "$ZLIB_HAS_PKGCONFIG" = "y" ; then
|
|
- if test "x$GNUTLS_REQUIRES_PRIVATE" = "x"; then
|
|
- GNUTLS_REQUIRES_PRIVATE="Requires.private: zlib"
|
|
- else
|
|
- GNUTLS_REQUIRES_PRIVATE="$GNUTLS_REQUIRES_PRIVATE , zlib"
|
|
- fi
|
|
- else
|
|
- GNUTLS_ZLIB_LIBS_PRIVATE="$LTLIBZ"
|
|
- fi
|
|
-fi
|
|
|
|
|
|
|
|
-
|
|
# Check whether --with-p11-kit was given.
|
|
if test "${with_p11_kit+set}" = set; then :
|
|
withval=$with_p11_kit;
|
|
@@ -27784,7 +27772,7 @@ fi
|
|
done
|
|
fi
|
|
if test "X$found_dir" != "X"; then
|
|
- LTLIBPTHREAD="${LTLIBPTHREAD}${LTLIBPTHREAD:+ }-L$found_dir -l$name"
|
|
+ LTLIBPTHREAD="${LTLIBPTHREAD}${LTLIBPTHREAD:+ }-L$found_dir -$name"
|
|
if test "X$found_so" != "X"; then
|
|
if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
|
|
LIBPTHREAD="${LIBPTHREAD}${LIBPTHREAD:+ }$found_so"
|
|
@@ -27837,7 +27825,7 @@ fi
|
|
if test "$acl_hardcode_minus_L" != no; then
|
|
LIBPTHREAD="${LIBPTHREAD}${LIBPTHREAD:+ }$found_so"
|
|
else
|
|
- LIBPTHREAD="${LIBPTHREAD}${LIBPTHREAD:+ }-l$name"
|
|
+ LIBPTHREAD="${LIBPTHREAD}${LIBPTHREAD:+ }-$name"
|
|
fi
|
|
fi
|
|
fi
|
|
@@ -27846,7 +27834,7 @@ fi
|
|
if test "X$found_a" != "X"; then
|
|
LIBPTHREAD="${LIBPTHREAD}${LIBPTHREAD:+ }$found_a"
|
|
else
|
|
- LIBPTHREAD="${LIBPTHREAD}${LIBPTHREAD:+ }-L$found_dir -l$name"
|
|
+ LIBPTHREAD="${LIBPTHREAD}${LIBPTHREAD:+ }-L$found_dir -$name"
|
|
fi
|
|
fi
|
|
additional_includedir=
|
|
@@ -27996,8 +27984,8 @@ fi
|
|
done
|
|
fi
|
|
else
|
|
- LIBPTHREAD="${LIBPTHREAD}${LIBPTHREAD:+ }-l$name"
|
|
- LTLIBPTHREAD="${LTLIBPTHREAD}${LTLIBPTHREAD:+ }-l$name"
|
|
+ LIBPTHREAD="${LIBPTHREAD}${LIBPTHREAD:+ }-$name"
|
|
+ LTLIBPTHREAD="${LTLIBPTHREAD}${LTLIBPTHREAD:+ }-$name"
|
|
fi
|
|
fi
|
|
fi
|