pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/security/libgcrypt



Module Name:    pkgsrc
Committed By:   nia
Date:           Wed Nov 15 15:26:49 UTC 2023

Modified Files:
        pkgsrc/security/libgcrypt: Makefile

Log Message:
libgcrypt: Fix building on Darwin/ppc.


To generate a diff of this commit:
cvs rdiff -u -r1.110 -r1.111 pkgsrc/security/libgcrypt/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/libgcrypt/Makefile
diff -u pkgsrc/security/libgcrypt/Makefile:1.110 pkgsrc/security/libgcrypt/Makefile:1.111
--- pkgsrc/security/libgcrypt/Makefile:1.110    Wed Nov 15 10:06:12 2023
+++ pkgsrc/security/libgcrypt/Makefile  Wed Nov 15 15:26:49 2023
@@ -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_DE
 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"



Home | Main Index | Thread Index | Old Index