d32ad70c12
expressions containing a '/' (divide) are problematic because according to the SUN x86 Assembly Language Reference Manual, '/' should be treated as starting comments. To get over this, gas has '--divide' do not treat `/' as a comment character
44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.59 2014/01/02 15:56:11 richard Exp $
|
|
|
|
DISTNAME= libgcrypt-1.6.0
|
|
CATEGORIES= security
|
|
MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/libgcrypt/ \
|
|
http://gd.tuwien.ac.at/privacy/gnupg/libgcrypt/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://directory.fsf.org/project/libgcrypt/
|
|
COMMENT= GNU cryptographic library
|
|
LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2.1
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
USE_LIBTOOL= yes
|
|
GNU_CONFIGURE= yes
|
|
|
|
TEST_TARGET= check
|
|
|
|
TEXINFO_REQD= 4.0
|
|
INFO_FILES= yes # PLIST
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
CPPFLAGS.SunOS+= -Wa,--divide
|
|
|
|
.if empty(MACHINE_PLATFORM:MNetBSD-*-i386) && \
|
|
empty(MACHINE_PLATFORM:MNetBSD-*-alpha) && \
|
|
empty(MACHINE_PLATFORM:MNetBSD-*-sparc) && \
|
|
empty(MACHINE_PLATFORM:M*-*-hppa)
|
|
CONFIGURE_ARGS+= --disable-asm
|
|
.endif
|
|
CONFIGURE_ARGS+= --disable-aesni-support
|
|
|
|
.if !empty(PKGSRC_COMPILER:Mclang)
|
|
CFLAGS+= -fheinous-gnu-extensions
|
|
.endif
|
|
|
|
.include "options.mk"
|
|
|
|
.include "../../security/libgpg-error/buildlink3.mk"
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|