blob: c0af3cb85ce87530c02f6aa1faa665bda4996c28 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# $NetBSD: Makefile,v 1.25 2021/02/18 10:59:09 adam Exp $
DISTNAME= nettle-3.7.1
CATEGORIES= devel security
MASTER_SITES= http://www.lysator.liu.se/~nisse/archive/
MASTER_SITES+= ftp://ftp.lysator.liu.se/pub/security/lsh/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://www.lysator.liu.se/~nisse/nettle/
COMMENT= Cryptographic library
LICENSE= gnu-lgpl-v2.1
USE_LANGUAGES= c c99
USE_LIBTOOL= yes
USE_TOOLS+= gm4 gmake
GNU_CONFIGURE= yes
SET_LIBDIR= yes
CONFIGURE_ARGS+= --disable-openssl
CONFIGURE_ARGS+= --disable-shared
.include "../../mk/bsd.prefs.mk"
.if !empty(USE_CROSS_COMPILE:M[yY][eE][sS])
CONFIGURE_ENV+= CC_FOR_BUILD=${NATIVE_CC:Q}
.endif
INFO_FILES= yes
TEST_TARGET= check
PKGCONFIG_OVERRIDE= hogweed.pc.in
PKGCONFIG_OVERRIDE+= nettle.pc.in
BUILDLINK_API_DEPENDS.gmp+= gmp>=6.0
.include "../../devel/gmp/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|