| @@ -1,36 +1,35 @@ | | | @@ -1,36 +1,35 @@ |
1 | # $NetBSD: Makefile,v 1.2 2020/01/26 17:30:48 rillig Exp $ | | 1 | # $NetBSD: Makefile,v 1.3 2020/03/01 11:46:43 nia Exp $ |
2 | | | 2 | |
3 | DISTNAME= libgadu-1.12.2 | | 3 | DISTNAME= libgadu-1.12.2 |
| | | 4 | PKGREVISION= 1 |
4 | CATEGORIES= chat | | 5 | CATEGORIES= chat |
5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=wojtekka/} | | 6 | MASTER_SITES= ${MASTER_SITE_GITHUB:=wojtekka/} |
6 | | | 7 | |
7 | MAINTAINER= adam@NetBSD.org | | 8 | MAINTAINER= adam@NetBSD.org |
8 | HOMEPAGE= https://libgadu.net/ | | 9 | HOMEPAGE= https://libgadu.net/ |
9 | COMMENT= Library for handling the protocol of Gadu-Gadu | | 10 | COMMENT= Library for handling the protocol of Gadu-Gadu |
10 | LICENSE= gnu-lgpl-v2.1 | | 11 | LICENSE= gnu-lgpl-v2.1 |
11 | | | 12 | |
12 | USE_LANGUAGES= c c++ | | 13 | USE_LANGUAGES= c c++ |
13 | USE_LIBTOOL= yes | | 14 | USE_LIBTOOL= yes |
14 | USE_TOOLS+= autoconf automake gmake perl:test pkg-config | | 15 | USE_TOOLS+= autoconf automake gmake perl:test pkg-config |
15 | GNU_CONFIGURE= yes | | 16 | GNU_CONFIGURE= yes |
16 | CONFIGURE_ARGS+= --with-openssl | | | |
17 | CONFIGURE_ARGS+= --without-bind | | 17 | CONFIGURE_ARGS+= --without-bind |
18 | CONFIGURE_ARGS+= --without-gnutls | | | |
19 | # XXX: https://github.com/wojtekka/libgadu/issues/25 | | 18 | # XXX: https://github.com/wojtekka/libgadu/issues/25 |
20 | CONFIGURE_ARGS+= --without-pthread | | 19 | CONFIGURE_ARGS+= --without-pthread |
21 | PKGCONFIG_OVERRIDE+= pkgconfig/libgadu.pc.in | | 20 | PKGCONFIG_OVERRIDE+= pkgconfig/libgadu.pc.in |
22 | TEST_TARGET= check | | 21 | TEST_TARGET= check |
23 | | | 22 | |
24 | REPLACE_PERL= test/protocol/compile | | 23 | REPLACE_PERL= test/protocol/compile |
25 | | | 24 | |
26 | pre-configure: | | 25 | pre-configure: |
27 | cd ${WRKSRC} && \ | | 26 | cd ${WRKSRC} && \ |
28 | ${SETENV} NOCONFIGURE=no ${SH} ./autogen.sh | | 27 | ${SETENV} NOCONFIGURE=no ${SH} ./autogen.sh |
29 | | | 28 | |
30 | .include "../../devel/protobuf-c/buildlink3.mk" | | 29 | .include "../../devel/protobuf-c/buildlink3.mk" |
31 | .include "../../devel/zlib/buildlink3.mk" | | 30 | .include "../../devel/zlib/buildlink3.mk" |
32 | .include "../../security/openssl/buildlink3.mk" | | 31 | .include "../../security/gnutls/buildlink3.mk" |
33 | .include "../../textproc/libxml2/buildlink3.mk" | | 32 | .include "../../textproc/libxml2/buildlink3.mk" |
34 | .include "../../www/curl/buildlink3.mk" | | 33 | .include "../../www/curl/buildlink3.mk" |
35 | #.include "../../mk/pthread.buildlink3.mk" | | 34 | #.include "../../mk/pthread.buildlink3.mk" |
36 | .include "../../mk/bsd.pkg.mk" | | 35 | .include "../../mk/bsd.pkg.mk" |