pkgsrc/security/libgpg-error/Makefile
wiz 90d426b839 Update to 1.20:
Noteworthy changes in version 1.20 (2015-08-26) [C16/A16/R0]
-----------------------------------------------

 * New macros for GCC attributes.

 * Make es_set_binary actually work for Windows.

 * Allow building without thread support.

 * Build without a build timestamp by default.

 * Interface changes relative to the 1.19 release:
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 GPGRT_VERSION                    NEW macro.
 GPGRT_VERSION_NUMBER             NEW macro.
 GPGRT_INLINE                     NEW macro.
 GPGRT_GCC_VERSION                NEW macro.
 GPGRT_ATTR_NORETURN              NEW macro.
 GPGRT_ATTR_PRINTF                NEW macro.
 GPGRT_ATTR_NR_PRINTF             NEW macro.
 GPGRT_ATTR_FORMAT_ARG            NEW macro.
 GPGRT_ATTR_SENTINEL              NEW macro.
 GPGRT_ATTR_USED                  NEW macro.
 GPGRT_ATTR_UNUSED                NEW macro.
 GPGRT_ATTR_DEPRECATED            NEW macro.
 GPGRT_ATTR_PURE                  NEW macro.
 GPGRT_ATTR_MALLOC                NEW macro.
 GPGRT_HAVE_MACRO_FUNCTION        NEW macro.
 GPGRT_HAVE_PRAGMA_GCC_PUSH       NEW macro.
2015-08-30 14:38:18 +00:00

58 lines
1.5 KiB
Makefile

# $NetBSD: Makefile,v 1.48 2015/08/30 14:38:18 wiz Exp $
DISTNAME= libgpg-error-1.20
CATEGORIES= security
MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/libgpg-error/ \
ftp://ftp.ring.gr.jp/pub/net/gnupg/libgpg-error/ \
ftp://mirror.switch.ch/mirror/gnupg/libgpg-error/ \
ftp://ftp.freenet.de/pub/ftp.gnupg.org/gcrypt/libgpg-error/ \
ftp://ftp.gnupg.ca/libgpg-error/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= minskim@NetBSD.org
HOMEPAGE= http://www.gnupg.org/
COMMENT= Definitions of common error values for all GnuPG components
LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2.1
USE_LIBTOOL= yes
USE_TOOLS+= gmake
USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
MAKE_ENV+= LC_ALL="C"
MAKE_JOBS_SAFE= no
INFO_FILES= yes
.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
# XXX See HACKS
.if ${OPSYS} == "IRIX" || !empty(MACHINE_PLATFORM:MNetBSD-[3-9]*)
USE_TOOLS+= awk
.else
USE_TOOLS+= gawk
.endif
.if !empty(MACHINE_PLATFORM:MSunOS-5.10-*)
LIBS+= -lrt
.endif
# On Dragonfly i386, Pkgsrc libintl segfaults on bindtextdomain function
# while locking a thread. Until that's resolved, stop libgpg-error from
# using NLS which invokes that function during initialization.
PLIST_VARS+= nls
.if ${OPSYS} == "DragonFly" && ${MACHINE} == "i386"
CONFIGURE_ARGS+= --disable-nls
.else
PLIST.nls= yes
.endif
TEST_TARGET= check
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"