aboutsummaryrefslogtreecommitdiff
path: root/www/aria2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/aria2/Makefile')
-rw-r--r--www/aria2/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/www/aria2/Makefile b/www/aria2/Makefile
index 0b1b106292aa..d3590786ed1c 100644
--- a/www/aria2/Makefile
+++ b/www/aria2/Makefile
@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
USES= compiler:c++11-lib libtool pathfix pkgconfig ssl tar:xz
CONFIGURE_ARGS= --disable-epoll \
- --enable-bittorrent --enable-libaria2 --enable-metalink --enable-shared --enable-ssl --enable-static --enable-threads=posix --enable-websocket \
+ --enable-bittorrent --enable-libaria2 --enable-metalink --enable-shared --enable-ssl --enable-threads=posix --enable-websocket \
--with-disk-cache=${ARIA2_DISK_CACHE} \
--with-libz --with-openssl \
--without-appletls --without-gnutls --without-libgcrypt --without-libgmp --without-libnettle
@@ -32,10 +32,10 @@ PORTDOCS= *
ARIA2_DISK_CACHE?= 16M
-OPTIONS_DEFINE= CA_BUNDLE CARES DOCS LIBUV NLS SQLITE SSH2
+OPTIONS_DEFINE= CA_BUNDLE CARES DOCS LIBUV NLS SQLITE SSH2 STATIC
OPTIONS_SINGLE= XML
OPTIONS_SINGLE_XML= EXPAT LIBXML2
-OPTIONS_DEFAULT=CA_BUNDLE LIBXML2 SQLITE
+OPTIONS_DEFAULT=CA_BUNDLE LIBXML2 SQLITE STATIC
OPTIONS_SUB= yes
CA_BUNDLE_DESC= Use CA bundle from Mozilla Project
LIBUV_DESC= Event polling via libuv
@@ -61,6 +61,7 @@ SQLITE_CONFIGURE_WITH= sqlite3
SQLITE_USES= sqlite
SSH2_CONFIGURE_WITH= libssh2
SSH2_LIB_DEPENDS= libssh2.so:security/libssh2
+STATIC_CONFIGURE_ENABLE=static
post-install:
${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d/