Annotation of pkgsrc/security/libgpg-error/Makefile, Revision 1.47
1.47 ! wiz 1: # $NetBSD: Makefile,v 1.46 2015/03/21 19:25:21 tron Exp $
1.1 xtraeme 2:
1.47 ! wiz 3: DISTNAME= libgpg-error-1.19
1.1 xtraeme 4: CATEGORIES= security
1.18 dsainty 5: MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/libgpg-error/ \
1.25 zafer 6: ftp://ftp.ring.gr.jp/pub/net/gnupg/libgpg-error/ \
7: ftp://mirror.switch.ch/mirror/gnupg/libgpg-error/ \
8: ftp://ftp.freenet.de/pub/ftp.gnupg.org/gcrypt/libgpg-error/ \
9: ftp://ftp.gnupg.ca/libgpg-error/
1.24 adam 10: EXTRACT_SUFX= .tar.bz2
1.1 xtraeme 11:
1.5 minskim 12: MAINTAINER= minskim@NetBSD.org
1.1 xtraeme 13: HOMEPAGE= http://www.gnupg.org/
14: COMMENT= Definitions of common error values for all GnuPG components
1.27 heinz 15: LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2.1
1.1 xtraeme 16:
1.32 adam 17: USE_LIBTOOL= yes
1.39 wiz 18: USE_TOOLS+= gmake
1.32 adam 19: USE_PKGLOCALEDIR= yes
20: GNU_CONFIGURE= yes
21: MAKE_ENV+= LC_ALL="C"
1.23 rillig 22: MAKE_JOBS_SAFE= no
1.43 wiz 23: INFO_FILES= yes
1.11 jschauma 24:
25: .include "../../mk/bsd.prefs.mk"
26:
1.37 riastrad 27: .if !empty(USE_CROSS_COMPILE:M[yY][eE][sS])
28: CONFIGURE_ENV+= CC_FOR_BUILD=${NATIVE_CC:Q}
29: .else
30: CONFIGURE_ENV+= CC_FOR_BUILD=${CC:Q}\ ${CFLAGS:M*:Q}
31: .endif
32:
1.11 jschauma 33: # XXX See HACKS
1.32 adam 34: .if ${OPSYS} == "IRIX" || !empty(MACHINE_PLATFORM:MNetBSD-[3-9]*)
1.44 he 35: USE_TOOLS+= awk
1.13 xtraeme 36: .else
1.12 jlam 37: USE_TOOLS+= gawk
1.11 jschauma 38: .endif
1.7 minskim 39:
1.46 tron 40: .if !empty(MACHINE_PLATFORM:MSunOS-5.10-*)
41: LIBS+= -lrt
42: .endif
43:
1.34 marino 44: # On Dragonfly i386, Pkgsrc libintl segfaults on bindtextdomain function
45: # while locking a thread. Until that's resolved, stop libgpg-error from
46: # using NLS which invokes that function during initialization.
47: PLIST_VARS+= nls
48: .if ${OPSYS} == "DragonFly" && ${MACHINE} == "i386"
49: CONFIGURE_ARGS+= --disable-nls
50: .else
51: PLIST.nls= yes
52: .endif
53:
1.16 heinz 54: TEST_TARGET= check
55:
1.32 adam 56: .include "../../converters/libiconv/buildlink3.mk"
1.3 jlam 57: .include "../../devel/gettext-lib/buildlink3.mk"
1.1 xtraeme 58: .include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>