Fix cross-build of gnupg with CC_FOR_BUILD=NATIVE_CC.
This commit is contained in:
parent
5dddf990fc
commit
e6111ac745
1 changed files with 5 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.118 2013/02/06 23:23:36 jperkin Exp $
|
||||
# $NetBSD: Makefile,v 1.119 2013/05/10 20:18:39 riastradh Exp $
|
||||
|
||||
DISTNAME= gnupg-1.4.13
|
||||
PKGREVISION= 2
|
||||
|
@ -38,6 +38,10 @@ CONFIGURE_ARGS+= --disable-gnupg-iconv
|
|||
CONFIGURE_ARGS+= --disable-asm
|
||||
.endif
|
||||
|
||||
.if !empty(USE_CROSS_COMPILE:M[yY][eE][sS])
|
||||
CONFIGURE_ENV+= CC_FOR_BUILD=${NATIVE_CC:Q}
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/DETAILS \
|
||||
${DESTDIR}${PREFIX}/share/gnupg
|
||||
|
|
Loading…
Reference in a new issue