summaryrefslogtreecommitdiff
path: root/ftp/curl
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2000-02-06 22:16:50 +0000
committerKris Kennaway <kris@FreeBSD.org>2000-02-06 22:16:50 +0000
commite53282941a44aaa0ca4d63d5fca48ad876f1989f (patch)
tree8205722755d988520a0888a1c84cd89c260f19ae /ftp/curl
parentUSE_OPENSSL, respect CC and CFLAGS. (diff)
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>
Notes
Notes: svn path=/head/; revision=25531
Diffstat (limited to 'ftp/curl')
-rw-r--r--ftp/curl/Makefile21
-rw-r--r--ftp/curl/distinfo2
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