Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / security / libgcrypt / Makefile
blobff29bfdfd94ec65df2f2b2862a1a5884a7ce01fc
1 # $NetBSD: Makefile,v 1.54 2012/10/23 18:16:32 asau Exp $
3 DISTNAME= libgcrypt-1.5.1
4 CATEGORIES= security
5 MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/libgcrypt/ \
6 http://gd.tuwien.ac.at/privacy/gnupg/libgcrypt/
7 EXTRACT_SUFX= .tar.bz2
8 # don't remove this -- see options.mk
9 DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
10 DIST_SUBDIR= ${PKGNAME_NOREV}
12 MAINTAINER= pkgsrc-users@NetBSD.org
13 HOMEPAGE= http://directory.fsf.org/project/libgcrypt/
14 COMMENT= GNU cryptographic library
15 LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2.1
17 PKG_INSTALLATION_TYPES= overwrite pkgviews
19 USE_LIBTOOL= yes
20 GNU_CONFIGURE= yes
22 TEST_TARGET= check
24 TEXINFO_REQD= 4.0
25 INFO_FILES= yes # PLIST
27 .include "../../mk/bsd.prefs.mk"
29 .if empty(MACHINE_PLATFORM:MNetBSD-*-i386) && \
30 empty(MACHINE_PLATFORM:MNetBSD-*-alpha) && \
31 empty(MACHINE_PLATFORM:MNetBSD-*-sparc) && \
32 empty(MACHINE_PLATFORM:M*-*-hppa)
33 CONFIGURE_ARGS+= --disable-asm
34 .endif
35 CONFIGURE_ARGS+= --disable-aesni-support
37 .if !empty(PKGSRC_COMPILER:Mclang)
38 CFLAGS+= -fheinous-gnu-extensions
39 .endif
41 .include "options.mk"
43 .include "../../security/libgpg-error/buildlink3.mk"
44 .include "../../mk/pthread.buildlink3.mk"
45 .include "../../mk/bsd.pkg.mk"