libgcrypt: Fix building on Darwin/ppc.
This commit is contained in:
parent
609d585206
commit
9616c4bb71
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.110 2023/11/15 10:06:12 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.111 2023/11/15 15:26:49 nia Exp $
|
||||
|
||||
DISTNAME= libgcrypt-1.10.3
|
||||
CATEGORIES= security
|
||||
|
@ -44,6 +44,14 @@ CONFIGURE_ARGS+= GPGRT_CONFIG=${CROSS_DESTDIR:Q}${LOCALBASE}/bin/gpgrt-config
|
|||
CONFIGURE_ARGS+= GPG_ERROR_CONFIG=${CROSS_DESTDIR:Q}${LOCALBASE}/bin/gpg-error-config
|
||||
.endif
|
||||
|
||||
.if ${OPSYS} == "Darwin" && ${OPSYS_VERSION} < 100500
|
||||
. include "../../devel/macports-legacy-support/buildlink3.mk"
|
||||
.endif
|
||||
|
||||
.if ${MACHINE_PLATFORM:MDarwin-*-powerpc}
|
||||
CPPFLAGS+= -D__powerpc__
|
||||
.endif
|
||||
|
||||
BUILDLINK_API_DEPENDS.libgpg-error+= libgpg-error>=1.13
|
||||
.include "../../security/libgpg-error/buildlink3.mk"
|
||||
.include "../../mk/pthread.buildlink3.mk"
|
||||
|
|
Loading…
Reference in New Issue