aboutsummaryrefslogtreecommitdiff
path: root/ftp/curl
diff options
context:
space:
mode:
authorPeter Pentchev <roam@FreeBSD.org>2003-03-05 10:43:08 +0000
committerPeter Pentchev <roam@FreeBSD.org>2003-03-05 10:43:08 +0000
commite416b581e738a1c64a38aa780c4cb5c05c795834 (patch)
treecdb8bef70912cf897167cf6634a5b7b7b7f0ea03 /ftp/curl
parent748cf376cdd8967b4a5621a2ca8cebc126f9e722 (diff)
downloadports-e416b581e738a1c64a38aa780c4cb5c05c795834.tar.gz
ports-e416b581e738a1c64a38aa780c4cb5c05c795834.zip
Notes
Diffstat (limited to 'ftp/curl')
-rw-r--r--ftp/curl/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/ftp/curl/Makefile b/ftp/curl/Makefile
index f0dcdc7bf7b2..459bd276ad23 100644
--- a/ftp/curl/Makefile
+++ b/ftp/curl/Makefile
@@ -7,7 +7,7 @@
PORTNAME= curl
PORTVERSION= 7.10.3
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= ftp ipv6 www
MASTER_SITES= http://curl.haxx.se/download/ \
${MASTER_SITE_SOURCEFORGE} \
@@ -47,8 +47,13 @@ SHLIB_VER= 2
MAKE_ENV= SHLIB_VER="${SHLIB_VER}"
PLIST_SUB= SHLIB_VER="${SHLIB_VER}"
+GNU_CONFIGURE= yes
+USE_BZIP2= yes
+
+.include <bsd.port.pre.mk>
+
.if !defined(WITHOUT_SSL)
-USE_OPENSSL= YES
+.include "${PORTSDIR}/security/openssl/Makefile.ssl"
CONFIGURE_ARGS= --with-ssl=${OPENSSLBASE}
.else
CONFIGURE_ARGS= --without-ssl
@@ -58,9 +63,6 @@ CONFIGURE_ARGS= --without-ssl
CONFIGURE_ARGS += --with-krb4=/usr
.endif
-GNU_CONFIGURE= yes
-USE_BZIP2= yes
-
# Note: some of these tests seem to intermitently fail on my system.
# I don't know why they would do that, yet.
test: build
@@ -72,4 +74,4 @@ post-install:
${CP} -r ${WRKSRC}/docs/* ${DOCSDIR}/
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>