diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2013-07-12 17:02:43 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2013-07-12 17:02:43 +0800 |
commit | b8cf19f579adbba8df058c52c1c3db9d8e2efe68 (patch) | |
tree | f8d678fa944a3ca7806bb650171783f0b5eca5e6 /ftp/curl/Makefile | |
parent | 6655ed9c62617e9d71735d293211f1a37644eca1 (diff) | |
download | freebsd-ports-gnome-b8cf19f579adbba8df058c52c1c3db9d8e2efe68.tar.gz freebsd-ports-gnome-b8cf19f579adbba8df058c52c1c3db9d8e2efe68.tar.zst freebsd-ports-gnome-b8cf19f579adbba8df058c52c1c3db9d8e2efe68.zip |
- Fix build when security/openssl is installed
- Pet portlint
Diffstat (limited to 'ftp/curl/Makefile')
-rw-r--r-- | ftp/curl/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/ftp/curl/Makefile b/ftp/curl/Makefile index 97188b56c580..f19fe7b8fb8e 100644 --- a/ftp/curl/Makefile +++ b/ftp/curl/Makefile @@ -198,8 +198,10 @@ CONFIGURE_ARGS+=--disable-ntlm .endif .if ${PORT_OPTIONS:MOPENSSL} -USE_OPENSSL= yes CONFIGURE_ARGS+=--with-ssl=${OPENSSLBASE} +CPPFLAGS+= -I${OPENSSLINC} +LDFLAGS+= -L${OPENSSLLIB} +USE_OPENSSL= yes .else CONFIGURE_ARGS+=--without-ssl .endif @@ -239,9 +241,9 @@ CONFIGURE_ARGS+=--disable-threaded-resolver .endif .if ${PORT_OPTIONS:MTLS_SRP} -CONFIGURE_ARGS+= --enable-tls-srp +CONFIGURE_ARGS+=--enable-tls-srp .else -CONFIGURE_ARGS+= --disable-tls-srp +CONFIGURE_ARGS+=--disable-tls-srp .endif post-patch: |