| @@ -1,40 +1,39 @@ | | | @@ -1,40 +1,39 @@ |
1 | # $NetBSD: Makefile,v 1.116 2019/07/21 22:25:30 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.117 2019/07/23 16:40:06 wiz Exp $ |
2 | | | 2 | |
3 | VERSION= 3.43.0 | | 3 | VERSION= 3.43.0 |
4 | DISTNAME= FileZilla_${VERSION}_src | | 4 | DISTNAME= FileZilla_${VERSION}_src |
5 | PKGNAME= filezilla-${VERSION} | | 5 | PKGNAME= filezilla-${VERSION} |
6 | PKGREVISION= 2 | | 6 | PKGREVISION= 2 |
7 | CATEGORIES= net x11 | | 7 | CATEGORIES= net x11 |
8 | MASTER_SITES= https://download.filezilla-project.org/client/ | | 8 | MASTER_SITES= https://download.filezilla-project.org/client/ |
9 | EXTRACT_SUFX= .tar.bz2 | | 9 | EXTRACT_SUFX= .tar.bz2 |
10 | | | 10 | |
11 | MAINTAINER= pkgsrc-users@NetBSD.org | | 11 | MAINTAINER= pkgsrc-users@NetBSD.org |
12 | HOMEPAGE= https://filezilla-project.org/ | | 12 | HOMEPAGE= https://filezilla-project.org/ |
13 | COMMENT= FTP, FTPS, and SFTP client with intuitive GUI | | 13 | COMMENT= FTP, FTPS, and SFTP client with intuitive GUI |
14 | LICENSE= gnu-gpl-v2 | | 14 | LICENSE= gnu-gpl-v2 |
15 | | | 15 | |
16 | GNU_CONFIGURE= yes | | 16 | GNU_CONFIGURE= yes |
17 | USE_LANGUAGES= c c++ | | 17 | USE_LANGUAGES= c c++17 |
18 | USE_TOOLS+= gmake pkg-config msgfmt msgmerge xgettext | | 18 | USE_TOOLS+= gmake pkg-config msgfmt msgmerge xgettext |
19 | WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} | | 19 | WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} |
20 | | | 20 | |
21 | CONFIGURE_ARGS+= --disable-autoupdatecheck | | 21 | CONFIGURE_ARGS+= --disable-autoupdatecheck |
22 | # avoid xdg-utils dependency | | 22 | # avoid xdg-utils dependency |
23 | CONFIGURE_ENV+= ac_cv_path_xdgopen=firefox | | 23 | CONFIGURE_ENV+= ac_cv_path_xdgopen=firefox |
24 | | | 24 | |
25 | # TODO: update GCC_REQD, as of 3.43.0 this requires C++17 | | 25 | # For C++17. |
26 | # GCC 4.9 is required to support C++14. | | 26 | GCC_REQD+= 7 |
27 | GCC_REQD+= 4.9 | | | |
28 | | | 27 | |
29 | .include "options.mk" | | 28 | .include "options.mk" |
30 | | | 29 | |
31 | # As of 3.41, 64-bit atomic ops are required | | 30 | # As of 3.41, 64-bit atomic ops are required |
32 | .if ${MACHINE_ARCH} == "i386" | | 31 | .if ${MACHINE_ARCH} == "i386" |
33 | CXXFLAGS+= -march=i586 | | 32 | CXXFLAGS+= -march=i586 |
34 | .endif | | 33 | .endif |
35 | | | 34 | |
36 | .include "../../databases/sqlite3/buildlink3.mk" | | 35 | .include "../../databases/sqlite3/buildlink3.mk" |
37 | .include "../../devel/libidn/buildlink3.mk" | | 36 | .include "../../devel/libidn/buildlink3.mk" |
38 | .include "../../graphics/hicolor-icon-theme/buildlink3.mk" | | 37 | .include "../../graphics/hicolor-icon-theme/buildlink3.mk" |
39 | BUILDLINK_API_DEPENDS.libfilezilla+= libfilezilla>=0.17.1 | | 38 | BUILDLINK_API_DEPENDS.libfilezilla+= libfilezilla>=0.17.1 |
40 | .include "../../net/libfilezilla/buildlink3.mk" | | 39 | .include "../../net/libfilezilla/buildlink3.mk" |