git: 7e3acffb5ec9 - main - www/aria2: Add STATIC option
Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sat Jul 24 20:31:29 UTC 2021
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=7e3acffb5ec90aac20dcac6a90dc8b70b45d55ba
commit 7e3acffb5ec90aac20dcac6a90dc8b70b45d55ba
Author: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-07-24 20:21:15 +0000
Commit: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-07-24 20:21:15 +0000
www/aria2: Add STATIC option
PR: 254559
Requested by: Daniel Engberg <daniel.engberg.lists at pyret.net>
---
www/aria2/Makefile | 7 ++++---
www/aria2/pkg-plist | 2 +-
2 files changed, 5 insertions(+), 4 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/
diff --git a/www/aria2/pkg-plist b/www/aria2/pkg-plist
index bf1f1e083c98..88f07c48b293 100644
--- a/www/aria2/pkg-plist
+++ b/www/aria2/pkg-plist
@@ -1,7 +1,7 @@
bin/aria2c
etc/bash_completion.d/aria2c
include/aria2/aria2.h
-lib/libaria2.a
+%%STATIC%%lib/libaria2.a
lib/libaria2.so
lib/libaria2.so.0
lib/libaria2.so.0.0.0
More information about the dev-commits-ports-all
mailing list