While here fix the build on SunOS, based on patches in joyent/pkgsrc#266 from mrferda. 0.24.1 (2020-08-27) - fz::to_integral can now handle strongly typed enum return types 0.24.0 (2020-08-21) + Added fz::equal_consttime - fz::sprintf now works corrcetly if arguments are passed as (w)string_view 0.23.0 (2020-07-07) + Added reader/writer locks - fz::mkdir can now return the the longest created path in case of partial failures
34 lines
947 B
Makefile
34 lines
947 B
Makefile
# $NetBSD: Makefile,v 1.32 2020/09/17 10:05:44 jperkin Exp $
|
|
|
|
DISTNAME= libfilezilla-0.24.1
|
|
CATEGORIES= net
|
|
# some kind of direct-download disabling
|
|
#MASTER_SITES= https://dl3.cdn.filezilla-project.org/libfilezilla/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://lib.filezilla-project.org/
|
|
COMMENT= Library for building high-performing, platform-independent programs
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_LIBTOOL= yes
|
|
USE_TOOLS+= gmake msgfmt pkg-config
|
|
USE_LANGUAGES= c c++17
|
|
|
|
PKGCONFIG_OVERRIDE+= lib/libfilezilla.pc.in
|
|
|
|
# for C++17
|
|
GCC_REQD+= 7
|
|
|
|
# As of 0.19, 64-bit atomic ops are required
|
|
.if ${MACHINE_ARCH} == "i386"
|
|
CXXFLAGS+= -march=i586
|
|
.endif
|
|
|
|
BUILDLINK_API_DEPENDS.nettle+= nettle>=3.1
|
|
.include "../../security/nettle/buildlink3.mk"
|
|
BUILDLINK_API_DEPENDS.gnutls+= gnutls>=3.5.7
|
|
.include "../../security/gnutls/buildlink3.mk"
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|