Noteworthy changes in version 1.37: * Fixes a build problems when using Gawk 5.0 * Fixes Bourne shell incompatibilities on Solaris. * Improves cross-comiling support. * On Windows strerror_s is now used to emulate strerror_r. * New error codes to map SQLite primary error codes. * Now uses poll(2) instead of select(2) in gpgrt_poll if possible. * Fixes a bug in gpgrt_close. * Fixes build problem under Cygwin. * Fixes a few minor portability bugs.
39 lines
1,009 B
Makefile
39 lines
1,009 B
Makefile
# $NetBSD: Makefile,v 1.76 2020/02/10 08:35:12 adam Exp $
|
|
|
|
DISTNAME= libgpg-error-1.37
|
|
CATEGORIES= security
|
|
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/
|
|
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"
|