Sat May 11 16:55:54 2013 UTC ()
Fix cross-build of security/nettle by setting CC_FOR_BUILD.


(riastradh)
diff -r1.10 -r1.11 pkgsrc/security/nettle/Makefile

cvs diff -r1.10 -r1.11 pkgsrc/security/nettle/Makefile (expand / switch to unified diff)

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