2017-01-19 19:52:01 +01:00
|
|
|
# $NetBSD: Makefile,v 1.56 2017/01/19 18:52:23 agc Exp $
|
2003-12-06 00:24:31 +01:00
|
|
|
|
2016-12-30 01:42:53 +01:00
|
|
|
DISTNAME= libgpg-error-1.26
|
2003-12-06 00:24:31 +01:00
|
|
|
CATEGORIES= security
|
2017-01-19 19:52:01 +01:00
|
|
|
MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/libgpg-error/
|
|
|
|
MASTER_SITES+= ftp://ftp.ring.gr.jp/pub/net/gnupg/libgpg-error/
|
|
|
|
MASTER_SITES+= ftp://mirror.switch.ch/mirror/gnupg/libgpg-error/
|
|
|
|
MASTER_SITES+= ftp://ftp.freenet.de/pub/ftp.gnupg.org/gcrypt/libgpg-error/
|
2008-10-14 13:32:11 +02:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2003-12-06 00:24:31 +01:00
|
|
|
|
2004-02-25 16:02:26 +01:00
|
|
|
MAINTAINER= minskim@NetBSD.org
|
2003-12-06 00:24:31 +01:00
|
|
|
HOMEPAGE= http://www.gnupg.org/
|
|
|
|
COMMENT= Definitions of common error values for all GnuPG components
|
2010-01-22 00:32:10 +01:00
|
|
|
LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2.1
|
2003-12-06 00:24:31 +01:00
|
|
|
|
2011-01-20 08:43:02 +01:00
|
|
|
USE_LIBTOOL= yes
|
2014-04-25 10:33:57 +02:00
|
|
|
USE_TOOLS+= gmake
|
2011-01-20 08:43:02 +01:00
|
|
|
USE_PKGLOCALEDIR= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
MAKE_ENV+= LC_ALL="C"
|
2007-11-03 23:40:27 +01:00
|
|
|
MAKE_JOBS_SAFE= no
|
2014-10-20 12:13:16 +02:00
|
|
|
INFO_FILES= yes
|
2005-05-16 00:22:48 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2013-05-10 02:37:48 +02:00
|
|
|
.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
|
|
|
|
|
2005-05-16 00:22:48 +02:00
|
|
|
# XXX See HACKS
|
2011-01-20 08:43:02 +01:00
|
|
|
.if ${OPSYS} == "IRIX" || !empty(MACHINE_PLATFORM:MNetBSD-[3-9]*)
|
2014-10-29 13:28:50 +01:00
|
|
|
USE_TOOLS+= awk
|
2005-09-22 11:11:37 +02:00
|
|
|
.else
|
2005-05-22 22:07:36 +02:00
|
|
|
USE_TOOLS+= gawk
|
2005-05-16 00:22:48 +02:00
|
|
|
.endif
|
2004-10-15 20:21:56 +02:00
|
|
|
|
2015-03-21 20:25:21 +01:00
|
|
|
.if !empty(MACHINE_PLATFORM:MSunOS-5.10-*)
|
|
|
|
LIBS+= -lrt
|
|
|
|
.endif
|
|
|
|
|
2012-07-17 18:01:10 +02:00
|
|
|
# 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
|
|
|
|
|
2006-04-14 20:14:34 +02:00
|
|
|
TEST_TARGET= check
|
|
|
|
|
2004-10-15 20:21:56 +02:00
|
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
2011-01-20 08:43:02 +01:00
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
2003-12-06 00:24:31 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|