aboutsummaryrefslogtreecommitdiff
path: root/ftp/curl
diff options
context:
space:
mode:
authorPeter Pentchev <roam@FreeBSD.org>2004-03-27 12:45:47 +0000
committerPeter Pentchev <roam@FreeBSD.org>2004-03-27 12:45:47 +0000
commitb0b7253fb98f658035dc932eb455656a13dec39e (patch)
treed46a54e5924a820dc426d34cfa5425487171949e /ftp/curl
parent5e06f4a46992f68f9e042240095bdd14fe0d9368 (diff)
downloadports-b0b7253fb98f658035dc932eb455656a13dec39e.tar.gz
ports-b0b7253fb98f658035dc932eb455656a13dec39e.zip
Fix the plist in the non-SSL case - curl-ca-bundle.crt is not installed.
Bump PORTREVISION. PR: 64667 Submitted by: Marius Strobl <marius@alchemy.franken.de>
Notes
Notes: svn path=/head/; revision=105413
Diffstat (limited to 'ftp/curl')
-rw-r--r--ftp/curl/Makefile3
-rw-r--r--ftp/curl/pkg-plist4
2 files changed, 5 insertions, 2 deletions
diff --git a/ftp/curl/Makefile b/ftp/curl/Makefile
index 4158f2156fe6..a53f0cff9640 100644
--- a/ftp/curl/Makefile
+++ b/ftp/curl/Makefile
@@ -7,6 +7,7 @@
PORTNAME= curl
PORTVERSION= 7.11.0
+PORTREVISION= 1
CATEGORIES= ftp ipv6 www
MASTER_SITES= http://curl.haxx.se/download/ \
${MASTER_SITE_SOURCEFORGE} \
@@ -53,8 +54,10 @@ USE_OPENSSL= yes
.if !defined(WITHOUT_SSL)
CONFIGURE_ARGS= --with-ssl=${OPENSSLBASE}
+PLIST_SUB+= SSL=""
.else
CONFIGURE_ARGS= --without-ssl
+PLIST_SUB+= SSL="@comment "
.endif
.if exists(/usr/lib/libkrb.a) && defined(WITH_KERBEROS4)
diff --git a/ftp/curl/pkg-plist b/ftp/curl/pkg-plist
index 935bae8f243e..76d2bc8761ef 100644
--- a/ftp/curl/pkg-plist
+++ b/ftp/curl/pkg-plist
@@ -10,8 +10,8 @@ include/curl/types.h
lib/libcurl.a
lib/libcurl.so
lib/libcurl.so.%%SHLIB_VER%%
-%%DATADIR%%/curl-ca-bundle.crt
-@dirrm %%DATADIR%%
+%%SSL%%%%DATADIR%%/curl-ca-bundle.crt
+%%SSL%%@dirrm %%DATADIR%%
%%PORTDOCS%%%%DOCSDIR%%/BINDINGS
%%PORTDOCS%%%%DOCSDIR%%/BUGS
%%PORTDOCS%%%%DOCSDIR%%/CONTRIBUTE