07dd3147c6
and to support the "inet6" option instead. Remaining usage of USE_INET6 was solely for the benefit of the scripts that generate the README.html files. Replace: BUILD_DEFS+= USE_INET6 with BUILD_DEFS+= IPV6_READY and teach the README-generation tools to look for that instead. This nukes USE_INET6 from pkgsrc proper. We leave a tiny bit of code to continue to support USE_INET6 for pkgsrc-wip until it has been nuked from there as well.
42 lines
990 B
Makefile
42 lines
990 B
Makefile
# $NetBSD: Makefile,v 1.15 2007/09/07 22:12:22 jlam Exp $
|
|
#
|
|
|
|
DISTNAME= putty-0.59
|
|
CATEGORIES= security
|
|
MASTER_SITES= http://the.earth.li/~sgtatham/putty/0.59/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.chiark.greenend.org.uk/~sgtatham/putty/
|
|
COMMENT= Free implementation of Telnet and SSH for Win32 and Unix platforms
|
|
|
|
USE_TOOLS+= gmake
|
|
BUILD_DIRS= ${WRKSRC}/unix
|
|
|
|
MAKE_FILE= Makefile.gtk
|
|
MAKE_FLAGS+= mandir=${PREFIX}/${PKGMANDIR}
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.putty
|
|
PKG_SUPPORTED_OPTIONS= inet6
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if empty(OPSYS:MLinux)
|
|
CFLAGS+= -DHAVE_NO_SETRESUID
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Minet6)
|
|
CFLAGS+= -DIPV6
|
|
.endif
|
|
|
|
.if !empty(OPSYS:M*BSD) || ${OPSYS} == "DragonFly"
|
|
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"
|