Skip to content

Commit

Permalink
Fix Darwin build: set CFLAGS like NetBSD and Linux.
Browse files Browse the repository at this point in the history
  • Loading branch information
schmonz committed Nov 30, 2020
1 parent 7195692 commit acbd313
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion security/putty/Makefile
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.66 2020/11/24 15:38:36 ryoon Exp $
# $NetBSD: Makefile,v 1.67 2020/11/30 14:15:09 schmonz Exp $
#

DISTNAME= putty-0.74
Expand Down Expand Up @@ -33,6 +33,7 @@ CFLAGS+= -DBSD_PTYS

LDFLAGS.SunOS+= -lsocket -lnsl
CFLAGS.SunOS+= -DBSD_COMP
CFLAGS.Darwin+= -DHAVE_FUTIMES -DHAVE_NO_SETRESUID
CFLAGS.NetBSD+= -DHAVE_FUTIMES -DHAVE_NO_SETRESUID
CFLAGS.Linux+= -DHAVE_FUTIMES -DHAVE_NO_SETRESUID
LDFLAGS.Linux+= -ldl
Expand Down

0 comments on commit acbd313

Please sign in to comment.