pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/putty



Module Name:    pkgsrc
Committed By:   tnn
Date:           Sun Jul 17 01:23:54 UTC 2022

Modified Files:
        pkgsrc/security/putty: Makefile

Log Message:
putty: fix build on macOS


To generate a diff of this commit:
cvs rdiff -u -r1.69 -r1.70 pkgsrc/security/putty/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/putty/Makefile
diff -u pkgsrc/security/putty/Makefile:1.69 pkgsrc/security/putty/Makefile:1.70
--- pkgsrc/security/putty/Makefile:1.69 Wed Dec  8 16:06:23 2021
+++ pkgsrc/security/putty/Makefile      Sun Jul 17 01:23:54 2022
@@ -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 @@ CFLAGS.Linux+=       -DHAVE_FUTIMES -DHAVE_NO_
 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