diff options
author | riastradh <riastradh@pkgsrc.org> | 2013-05-10 20:24:17 +0000 |
---|---|---|
committer | riastradh <riastradh@pkgsrc.org> | 2013-05-10 20:24:17 +0000 |
commit | 3db4df3dd08b2cfa74aba2fd05b1e3341203a913 (patch) | |
tree | d2a8db32984b45e24a90ce42e34ca0fa805530fe /security/libksba | |
parent | 32371be1c6c7a2954ad37c333927ade1cfcee8db (diff) | |
download | pkgsrc-3db4df3dd08b2cfa74aba2fd05b1e3341203a913.tar.gz |
Fix cross-build of libksba with CC_FOR_BUILD=NATIVE_CC.
Diffstat (limited to 'security/libksba')
-rw-r--r-- | security/libksba/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/security/libksba/Makefile b/security/libksba/Makefile index c5a0232c07e..9b7c4b366c5 100644 --- a/security/libksba/Makefile +++ b/security/libksba/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.26 2013/03/15 18:17:55 drochner Exp $ +# $NetBSD: Makefile,v 1.27 2013/05/10 20:24:17 riastradh Exp $ DISTNAME= libksba-1.3.0 CATEGORIES= security @@ -17,6 +17,10 @@ INFO_FILES= yes TEST_TARGET= check TEXINFO_REQD= 4.0 +.if !empty(USE_CROSS_COMPILE:M[yY][eE][sS]) +CONFIGURE_ARGS+= CC_FOR_BUILD=${NATIVE_CC:Q} +.endif + .include "../../security/libgcrypt/buildlink3.mk" BUILDLINK_API_DEPENDS.libgpg-error+= libgpg-error>=1.2 .include "../../security/libgpg-error/buildlink3.mk" |