685962fb63
isalpha((unsigned char)*s) instead of isalpha((int)*s). Also replaced WRKSRC with BUILD_DIRS, which is more appropriate. Approved by jlam.
39 lines
871 B
Makefile
39 lines
871 B
Makefile
# $NetBSD: Makefile,v 1.5 2005/04/13 16:45:46 rillig Exp $
|
|
#
|
|
|
|
DISTNAME= putty-0.58
|
|
CATEGORIES= security
|
|
MASTER_SITES= http://the.earth.li/~sgtatham/putty/latest/
|
|
|
|
MAINTAINER= xtraeme@NetBSD.org
|
|
HOMEPAGE= http://www.chiark.greenend.org.uk/~sgtatham/putty/
|
|
COMMENT= Free implementation of Telnet and SSH for Win32 and Unix platforms
|
|
|
|
USE_GNU_TOOLS+= make
|
|
USE_X11= yes
|
|
BUILD_DIRS= ${WRKSRC}/unix
|
|
|
|
MAKEFILE= Makefile.gtk
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if empty(OPSYS:MLinux)
|
|
CFLAGS+= -DHAVE_NO_SETRESUID
|
|
.endif
|
|
|
|
.if !empty(USE_INET6:M[Yy][Ee][Ss])
|
|
CFLAGS+= -DIPV6
|
|
.endif
|
|
|
|
.if !empty(OPSYS:M*BSD)
|
|
CFLAGS+= -DOMIT_UTMP
|
|
.endif
|
|
|
|
# Unix98 ptys were added some weeks ago in NetBSD -current,
|
|
# so use it if we have the device, otherwise use the old style.
|
|
.if !exists(/dev/ptmx)
|
|
CFLAGS+= -DBSD_PTYS
|
|
.endif
|
|
|
|
.include "../../x11/gtk/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|