1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-28 10:08:24 +00:00

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>
This commit is contained in:
Kris Kennaway 2000-02-06 22:16:50 +00:00
parent 6a179c6b82
commit e53282941a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=25531
2 changed files with 14 additions and 9 deletions

View File

@ -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_OPENSSL)
CONFIGURE_ENV+= CPPFLAGS='-I${OPENSSLINC} -I${OPENSSLINC}/openssl' \
LDFLAGS='-L${OPENSSLLIB}'
.endif
.if defined(USE_SSL)
CONFIGURE_ENV+= CPPFLAGS='-I${PREFIX}/include -I${PREFIX}/include/openssl' \
LDFLAGS='-L${PREFIX}/lib'
.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>

View File

@ -1 +1 @@
MD5 (curl-6.1.tar.gz) = 9451e8a241b51bd612b4a0c86ae39a13
MD5 (curl-6.3.tar.gz) = 2f8ee8c0fe4ce374a19e2065398ce9dc