1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/net/omnitty/Makefile
Rong-En Fan 792dc31f14 - After SA 08:01.pty, openpty() calls fork and omnitty has a bad assumption
that library calls do not do that. Therefore, it's SIGCHLD handling causes
  a hang in wait() as openpty() already does that. Fix this by using waitpid()
  with WNOHANG.

Diagnosed by:	jhb
Tested by:	dhw (earlier version)
2008-02-20 02:06:11 +00:00

38 lines
740 B
Makefile

# New ports collection makefile for: omnitty
# Date created: May 21 2006
# Whom: Rong-En Fan <rafan@infor.org>
#
# $FreeBSD$
#
PORTNAME= omnitty
PORTVERSION= 0.3.0
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= rafan@FreeBSD.org
COMMENT= A curses-based SSH multiplexer
LIB_DEPENDS= rote:${PORTSDIR}/devel/rote
GNU_CONFIGURE= yes
USE_GMAKE= yes
ALL_TARGET= ${PORTNAME}
MAN1= ${PORTNAME}.1
PLIST_FILES= bin/${PORTNAME}
post-patch:
${REINPLACE_CMD} 's|<alloca.h>|<stdlib.h>|' \
${WRKSRC}/machmgr.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MAN1PREFIX}/man/man1
.include <bsd.port.mk>