diff options
-rw-r--r-- | ftp/curl/Makefile | 3 | ||||
-rw-r--r-- | ftp/curl/pkg-plist | 4 |
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 |