1 # $NetBSD: Makefile,v 1.54 2012/10/23 18:16:32 asau Exp $
3 DISTNAME
= libgcrypt-1.5
.1
5 MASTER_SITES
= ftp
://ftp.gnupg.org
/gcrypt
/libgcrypt
/ \
6 http
://gd.tuwien.ac.at
/privacy
/gnupg
/libgcrypt
/
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
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
35 CONFIGURE_ARGS
+= --disable-aesni-support
37 .if
!empty
(PKGSRC_COMPILER
:Mclang
)
38 CFLAGS
+= -fheinous-gnu-extensions
43 .
include "../../security/libgpg-error/buildlink3.mk"
44 .
include "../../mk/pthread.buildlink3.mk"
45 .
include "../../mk/bsd.pkg.mk"