diff options
author | kris <kris@FreeBSD.org> | 2000-02-07 06:16:50 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2000-02-07 06:16:50 +0800 |
commit | 368d3f1f2e480fb8ad909a4c0b4ae53e32f9d9fb (patch) | |
tree | 77f0238f359f6d6969cbd8200a23337b187879c2 /ftp | |
parent | 46b29cc815dca1104f23ab41e22f3188fc0a00bc (diff) | |
download | freebsd-ports-gnome-368d3f1f2e480fb8ad909a4c0b4ae53e32f9d9fb.tar.gz freebsd-ports-gnome-368d3f1f2e480fb8ad909a4c0b4ae53e32f9d9fb.tar.zst freebsd-ports-gnome-368d3f1f2e480fb8ad909a4c0b4ae53e32f9d9fb.zip |
Upgrade to curl 6.3, USE_OPENSSL and actually make USE_SSL compile in SSL
support.
PR: ports/14280
Assisted by: Jim Bloom <bloom@acm.org>
Diffstat (limited to 'ftp')
-rw-r--r-- | ftp/curl/Makefile | 21 | ||||
-rw-r--r-- | ftp/curl/distinfo | 2 |
2 files changed, 14 insertions, 9 deletions
diff --git a/ftp/curl/Makefile b/ftp/curl/Makefile index cbcded5c8b98..0186f9216ca9 100644 --- a/ftp/curl/Makefile +++ b/ftp/curl/Makefile @@ -1,11 +1,11 @@ # New ports collection makefile for: curl -# Version required: 6.1 +# Version required: 6.3 # Date created: 12 December 1998 # Whom: Neil Blakey-Milner <nbm@rucus.ru.ac.za> # # $FreeBSD$ -DISTNAME= curl-6.1 +DISTNAME= curl-6.3 CATEGORIES= ftp www MASTER_SITES= http://www.fts.frontec.se/~dast/stuff/ \ ftp://ftp.rhrz.uni-bonn.de/pub-koeln/net/inet/ \ @@ -15,13 +15,18 @@ MASTER_SITES= http://www.fts.frontec.se/~dast/stuff/ \ MAINTAINER= kris@FreeBSD.org .if defined(USE_SSL) -LIB_DEPENDS= crypto.1:${PORTSDIR}/security/openssl \ - ssl.1:${PORTSDIR}/security/openssl +USE_OPENSSL= RSA .endif + +.include <bsd.port.pre.mk> -.if defined(USE_SSL) -CONFIGURE_ENV+= CPPFLAGS='-I${PREFIX}/include -I${PREFIX}/include/openssl' \ - LDFLAGS='-L${PREFIX}/lib' +.if defined(USE_OPENSSL) +CONFIGURE_ENV+= CPPFLAGS='-I${OPENSSLINC} -I${OPENSSLINC}/openssl' \ + LDFLAGS='-L${OPENSSLLIB}' +.endif + +.if defined(OPENSSL_RSAREF) +CONFIGURE_ENV+= LIBS="-L${OPENSSLLIB} -lcrypto -lRSAglue -L${LOCALBASE}/lib -lrsaref" .endif GNU_CONFIGURE= yes @@ -35,4 +40,4 @@ post-configure: ${WRKSRC}/${x}.pre_sed > ${WRKSRC}/${x} .endfor -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/ftp/curl/distinfo b/ftp/curl/distinfo index 5b84958c01ee..eb4fa51d0565 100644 --- a/ftp/curl/distinfo +++ b/ftp/curl/distinfo @@ -1 +1 @@ -MD5 (curl-6.1.tar.gz) = 9451e8a241b51bd612b4a0c86ae39a13 +MD5 (curl-6.3.tar.gz) = 2f8ee8c0fe4ce374a19e2065398ce9dc |