blob: ff338c1644054271d01ee0191a120cc1e7e5cada (
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
|
# $NetBSD: Makefile,v 1.83 2022/01/27 16:51:08 adam Exp $
DISTNAME= libgpg-error-1.44
CATEGORIES= security
MASTER_SITES= https://www.gnupg.org/ftp/gcrypt/libgpg-error/
MASTER_SITES+= ftp://ftp.gnupg.org/gcrypt/libgpg-error/
MASTER_SITES+= ftp://ftp.ring.gr.jp/pub/net/gnupg/libgpg-error/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= minskim@NetBSD.org
HOMEPAGE= https://www.gnupg.org/software/libgpg-error/index.html
COMMENT= Definitions of common error values for all GnuPG components
LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2.1
USE_LIBTOOL= yes
USE_PKGLOCALEDIR= yes
USE_TOOLS+= gmake
GNU_CONFIGURE= yes
INFO_FILES= yes
TEST_TARGET= check
.include "../../mk/bsd.prefs.mk"
.if !empty(USE_CROSS_COMPILE:M[yY][eE][sS])
CONFIGURE_ENV+= CC_FOR_BUILD=${NATIVE_CC:Q}
.else
CONFIGURE_ENV+= CC_FOR_BUILD=${CC:Q}\ ${CFLAGS:M*:Q}
.endif
.if !empty(MACHINE_PLATFORM:MDarwin-8.*-powerpc)
CFLAGS+= -D__DARWIN_UNIX03
.endif
.if !empty(MACHINE_PLATFORM:MSunOS-5.10-*)
LIBS+= -lrt
.endif
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|