| @@ -1,40 +1,41 @@ | | | @@ -1,40 +1,41 @@ |
1 | # $NetBSD: Makefile,v 1.59 2015/10/17 09:14:43 adam Exp $ | | 1 | # $NetBSD: Makefile,v 1.60 2016/02/26 16:31:50 fhajny Exp $ |
2 | | | 2 | |
3 | DISTNAME= aria2-1.19.2 | | 3 | DISTNAME= aria2-1.19.2 |
4 | CATEGORIES= net | | 4 | CATEGORIES= net |
5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=tatsuhiro-t/} | | 5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=tatsuhiro-t/} |
6 | EXTRACT_SUFX= .tar.xz | | 6 | EXTRACT_SUFX= .tar.xz |
7 | | | 7 | |
8 | MAINTAINER= pkgsrc-users@NetBSD.org | | 8 | MAINTAINER= pkgsrc-users@NetBSD.org |
9 | HOMEPAGE= http://aria2.sourceforge.net/ | | 9 | HOMEPAGE= http://aria2.sourceforge.net/ |
10 | COMMENT= Multi-threaded, multi-protocol, flexible download accelerator | | 10 | COMMENT= Multi-threaded, multi-protocol, flexible download accelerator |
11 | LICENSE= gnu-gpl-v2 | | 11 | LICENSE= gnu-gpl-v2 |
12 | | | 12 | |
13 | GITHUB_RELEASE= release-${PKGVERSION_NOREV} | | 13 | GITHUB_RELEASE= release-${PKGVERSION_NOREV} |
14 | | | 14 | |
15 | # Minimum requirement is 4.6.4 | | 15 | # Minimum requirement is 4.6.4 |
16 | GCC_REQD+= 4.6 | | 16 | GCC_REQD+= 4.6 |
17 | | | 17 | |
18 | USE_LANGUAGES= c c++ | | 18 | USE_LANGUAGES= c c++ |
19 | USE_LIBTOOL= yes | | 19 | USE_LIBTOOL= yes |
20 | USE_PKGLOCALEDIR= yes | | 20 | USE_PKGLOCALEDIR= yes |
21 | USE_TOOLS+= bison msgfmt msgmerge xgettext | | 21 | USE_TOOLS+= bison msgfmt msgmerge xgettext |
22 | GNU_CONFIGURE= yes | | 22 | GNU_CONFIGURE= yes |
23 | CONFIGURE_ARGS+= --enable-bittorrent | | 23 | CONFIGURE_ARGS+= --enable-bittorrent |
24 | CONFIGURE_ARGS+= --enable-metalink | | 24 | CONFIGURE_ARGS+= --enable-metalink |
25 | CONFIGURE_ARGS+= --with-included-gettext=no | | 25 | CONFIGURE_ARGS+= --with-included-gettext=no |
26 | CONFIGURE_ARGS+= --with-libexpat | | 26 | CONFIGURE_ARGS+= --with-libexpat |
27 | CONFIGURE_ARGS+= --without-libxml2 | | 27 | CONFIGURE_ARGS+= --without-libxml2 |
| | | 28 | CONFIGURE_ARGS.SunOS+= --disable-epoll |
28 | | | 29 | |
29 | GCC_REQD+= 3.4 | | 30 | GCC_REQD+= 3.4 |
30 | TEST_TARGET= check | | 31 | TEST_TARGET= check |
31 | USE_FEATURES= getopt_long snprintf | | 32 | USE_FEATURES= getopt_long snprintf |
32 | | | 33 | |
33 | .include "../../mk/compiler.mk" | | 34 | .include "../../mk/compiler.mk" |
34 | | | 35 | |
35 | .if !empty(PKGSRC_RUN_TEST:M[Yy][Ee][Ss]) | | 36 | .if !empty(PKGSRC_RUN_TEST:M[Yy][Ee][Ss]) |
36 | BUILDLINK_DEPMETHOD.cppunit= build | | 37 | BUILDLINK_DEPMETHOD.cppunit= build |
37 | BUILDLINK_API_DEPENDS.cppunit+= cppunit>=1.10.2 | | 38 | BUILDLINK_API_DEPENDS.cppunit+= cppunit>=1.10.2 |
38 | . include "../../devel/cppunit/buildlink3.mk" | | 39 | . include "../../devel/cppunit/buildlink3.mk" |
39 | .else | | 40 | .else |
40 | CONFIGURE_ARGS+= --disable-xmltest | | 41 | CONFIGURE_ARGS+= --disable-xmltest |