| @@ -1,30 +1,36 @@ | | | @@ -1,30 +1,36 @@ |
1 | # $NetBSD: Makefile,v 1.11 2012/04/30 14:21:03 drochner Exp $ | | 1 | # $NetBSD: Makefile,v 1.12 2012/05/01 04:54:03 obache Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | DISTNAME= glib-networking-2.32.1 | | 4 | DISTNAME= glib-networking-2.32.1 |
5 | CATEGORIES= net | | 5 | CATEGORIES= net |
6 | MASTER_SITES= ${MASTER_SITE_GNOME:=sources/glib-networking/2.32/} | | 6 | MASTER_SITES= ${MASTER_SITE_GNOME:=sources/glib-networking/2.32/} |
7 | EXTRACT_SUFX= .tar.xz | | 7 | EXTRACT_SUFX= .tar.xz |
8 | | | 8 | |
9 | MAINTAINER= pkgsrc-users@NetBSD.org | | 9 | MAINTAINER= pkgsrc-users@NetBSD.org |
10 | HOMEPAGE= http://www.gnome.org/ | | 10 | HOMEPAGE= http://www.gnome.org/ |
11 | COMMENT= Network-related giomodules for glib | | 11 | COMMENT= Network-related giomodules for glib |
12 | LICENSE= gnu-gpl-v2 | | 12 | LICENSE= gnu-gpl-v2 |
13 | | | 13 | |
14 | PKG_DESTDIR_SUPPORT= user-destdir | | 14 | PKG_DESTDIR_SUPPORT= user-destdir |
15 | | | 15 | |
16 | GNU_CONFIGURE= yes | | 16 | GNU_CONFIGURE= yes |
17 | CONFIGURE_ARGS+= --with-ca-certificates=/etc/ssl/certs/ca-certificates.crt | | 17 | CONFIGURE_ARGS+= --with-ca-certificates=/etc/ssl/certs/ca-certificates.crt |
18 | USE_LIBTOOL= yes | | 18 | USE_LIBTOOL= yes |
19 | USE_TOOLS+= intltool pkg-config gmake gettext | | 19 | USE_TOOLS+= intltool pkg-config gmake gettext |
20 | | | 20 | |
| | | 21 | # gcc>=4.2 specific -Werror=XXX flags will be added unconditionally. |
| | | 22 | .include "../../mk/compiler.mk" |
| | | 23 | .if !empty(CC_VERSION:Mgcc-4.[01].*) || !empty(CC_VERSION:Mgcc-[1-3].*) |
| | | 24 | CONFIGURE_ARGS+= --disable-more-warnings |
| | | 25 | .endif |
| | | 26 | |
21 | BUILDLINK_API_DEPENDS.glib2+= glib2>=2.32.1 | | 27 | BUILDLINK_API_DEPENDS.glib2+= glib2>=2.32.1 |
22 | .include "../../devel/glib2/buildlink3.mk" | | 28 | .include "../../devel/glib2/buildlink3.mk" |
23 | .include "../../devel/glib2/modules.mk" | | 29 | .include "../../devel/glib2/modules.mk" |
24 | BUILDLINK_API_DEPENDS.libproxy+= libproxy>=0.3.1 | | 30 | BUILDLINK_API_DEPENDS.libproxy+= libproxy>=0.3.1 |
25 | .include "../../www/libproxy/buildlink3.mk" | | 31 | .include "../../www/libproxy/buildlink3.mk" |
26 | .include "../../security/gnutls/buildlink3.mk" | | 32 | .include "../../security/gnutls/buildlink3.mk" |
27 | # XXX libcgrypt is not necessary if gnutls was built against nettle, | | 33 | # XXX libcgrypt is not necessary if gnutls was built against nettle, |
28 | # but the assumption is hardwired at multiple places | | 34 | # but the assumption is hardwired at multiple places |
29 | .include "../../security/libgcrypt/buildlink3.mk" | | 35 | .include "../../security/libgcrypt/buildlink3.mk" |
30 | .include "../../mk/bsd.pkg.mk" | | 36 | .include "../../mk/bsd.pkg.mk" |