aboutsummaryrefslogtreecommitdiff
path: root/ftp/curl/files/patch-configure
diff options
context:
space:
mode:
Diffstat (limited to 'ftp/curl/files/patch-configure')
-rw-r--r--ftp/curl/files/patch-configure22
1 files changed, 11 insertions, 11 deletions
diff --git a/ftp/curl/files/patch-configure b/ftp/curl/files/patch-configure
index 3d38f47f2622..154e8d571067 100644
--- a/ftp/curl/files/patch-configure
+++ b/ftp/curl/files/patch-configure
@@ -1,14 +1,14 @@
-diff -urN -x .svn ../../vendor/curl/configure ./configure
---- ../../vendor/curl/configure 2008-11-02 00:09:51.000000000 +0200
-+++ ./configure 2009-01-21 16:12:08.000000000 +0200
-@@ -32237,8 +32237,10 @@
+Do not needlessly add /usr/include and /usr/lib to the compiler and
+linker flags if the base system OpenSSL is used.
+
+--- a/configure
++++ b/configure
+@@ -23435,7 +23435,7 @@
PKGTEST="no"
PREFIX_OPENSSL=$OPT_SSL
LIB_OPENSSL="$PREFIX_OPENSSL/lib$libsuff"
-+ if ! [ "$PREFIX_OPENSSL" = "/usr" ]; then
- LDFLAGS="$LDFLAGS -L$LIB_OPENSSL"
- CPPFLAGS="$CPPFLAGS -I$PREFIX_OPENSSL/include/openssl -I$PREFIX_OPENSSL/include"
-+ fi
- ;;
- esac
-
+- if "$PREFIX_OPENSSL" != "/usr" ; then
++ if [ "$PREFIX_OPENSSL" != "/usr" ] ; then
+ LDFLAGS="$LDFLAGS -L$LIB_OPENSSL"
+ CPPFLAGS="$CPPFLAGS -I$PREFIX_OPENSSL/include"
+ fi