pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/putty putty: fix build on macOS
details: https://anonhg.NetBSD.org/pkgsrc/rev/38b6f561abd3
branches: trunk
changeset: 381963:38b6f561abd3
user: tnn <tnn%pkgsrc.org@localhost>
date: Sun Jul 17 01:23:54 2022 +0000
description:
putty: fix build on macOS
diffstat:
security/putty/Makefile | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r 2f02c071f434 -r 38b6f561abd3 security/putty/Makefile
--- a/security/putty/Makefile Sat Jul 16 19:26:32 2022 +0000
+++ b/security/putty/Makefile Sun Jul 17 01:23:54 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.69 2021/12/08 16:06:23 adam Exp $
+# $NetBSD: Makefile,v 1.70 2022/07/17 01:23:54 tnn Exp $
#
DISTNAME= putty-0.76
@@ -39,5 +39,10 @@
LDFLAGS.Linux+= -ldl
.include "../../x11/gtk3/buildlink3.mk"
+.if !empty(PKG_BUILD_OPTIONS.gtk3:Mquartz)
+# Override default GTK_CONFIG from Makefile.gtk to prevent search for x11.pc
+MAKE_FLAGS+= "GTK_CONFIG=pkg-config gtk+-3.0"
+CFLAGS+= -DOSX_GTK
+.endif
.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index