openbsd-ports/security/gnutls/patches/patch-lib_configure
2011-08-22 09:13:04 +00:00

64 lines
2.9 KiB
Plaintext

$OpenBSD: patch-lib_configure,v 1.4 2011/08/22 09:13:04 ajacoutot Exp $
--- lib/configure.orig Sun Aug 21 00:21:59 2011
+++ lib/configure Mon Aug 22 10:59:11 2011
@@ -17354,21 +17354,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;
@@ -24782,7 +24770,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"
@@ -24835,7 +24823,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
@@ -24844,7 +24832,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=
@@ -24994,8 +24982,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