blob: acc76adf94742efcc6b809663facbf1974834bf1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
# $NetBSD: Makefile,v 1.51 2019/04/03 00:32:59 ryoon Exp $
DISTNAME= libsoup-2.64.2
PKGREVISION= 3
CATEGORIES= net gnome
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libsoup/${PKGVERSION_NOREV:R}/}
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://wiki.gnome.org/Projects/libsoup
COMMENT= HTTP library implementation in C
LICENSE= gnu-lgpl-v2
DEPENDS+= glib-networking-[0-9]*:../../net/glib-networking
USE_TOOLS+= pkg-config gmake intltool msgfmt
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
# XXX work around botched gettext check (ignores libintl)
CONFIGURE_ENV+= DATADIRNAME=share
# XXX: disable Vala bindings otherwise the configure phase fails because is not
# XXX: able to find vapigen.
CONFIGURE_ARGS+= --enable-vala=no
CONFIGURE_ARGS+= --disable-tls-check
CONFIGURE_ARGS+= --with-apache-httpd=no
PKGCONFIG_OVERRIDE+= libsoup-2.4.pc.in
PKGCONFIG_OVERRIDE+= libsoup-gnome-2.4.pc.in
TEST_TARGET= check
BUILDLINK_TRANSFORM+= rm:-Werror=missing-include-dirs
# gcc>=4.2 specific -Werror=XXX flags will be added unconditionally.
.include "../../mk/compiler.mk"
.if !empty(CC_VERSION:Mgcc-4.[01].*) || !empty(CC_VERSION:Mgcc-[1-3].*)
CONFIGURE_ARGS+= --disable-more-warnings
.endif
.if !empty(PKGSRC_COMPILER:Mclang)
_WRAP_EXTRA_ARGS.CC+= -Wno-error=format-nonliteral
CWRAPPERS_APPEND.cc+= -Wno-error=format-nonliteral
.endif
.include "options.mk"
.include "../../databases/sqlite3/buildlink3.mk"
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.38.0
.include "../../devel/glib2/buildlink3.mk"
BUILDLINK_API_DEPENDS.gobject-introspection+= gobject-introspection>=0.9.5
BUILDLINK_DEPMETHOD.gobject-introspection+= build
.include "../../devel/gobject-introspection/buildlink3.mk"
CONFIGURE_ARGS+= --enable-introspection
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../www/libpsl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|