Upstream-Status: Inappropriate [packaging]

diff -Nurd curl-7.28.1/configure.ac curl-7.28.1/configure.ac
--- curl-7.28.1/configure.ac	2012-09-08 23:39:18.000000000 +0300
+++ curl-7.28.1/configure.ac	2012-12-25 03:41:29.948026351 +0200
@@ -1863,6 +1863,7 @@
        AC_SUBST(USE_GNUTLS, [1])
        GNUTLS_ENABLED=1
        USE_GNUTLS="yes"
+       GNUTLS_REQUIRED="gnutls"
        curl_ssl_msg="enabled (GnuTLS)"
        ],
        [
@@ -1933,6 +1934,8 @@
    ])
 fi
 
+AC_SUBST(GNUTLS_REQUIRED)
+
 dnl ----------------------------------------------------
 dnl check for PolarSSL
 dnl ----------------------------------------------------
diff -Nurd curl-7.28.1/libcurl.pc.in curl-7.28.1/libcurl.pc.in
--- curl-7.28.1/libcurl.pc.in	2012-08-08 23:45:18.000000000 +0300
+++ curl-7.28.1/libcurl.pc.in	2012-12-25 03:43:23.564023858 +0200
@@ -34,6 +34,7 @@
 URL: http://curl.haxx.se/
 Description: Library to transfer files with ftp, http, etc.
 Version: @CURLVERSION@
-Libs: -L${libdir} -lcurl @LIBS@
-Libs.private: @LIBCURL_LIBS@ @LIBS@
+Requires.private: @GNUTLS_REQUIRED@
+Libs: -L${libdir} -lcurl
+Libs.private: -ldl -lz
 Cflags: -I${includedir} @CPPFLAG_CURL_STATICLIB@
