Subject: pkg/25979: rxvt fails to build on -current
To: None <>
From: Martin Husemann <>
List: pkgsrc-bugs
Date: 06/20/2004 08:27:28
>Number:         25979
>Category:       pkg
>Synopsis:       rxvt fails to build on -current
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jun 20 06:28:00 UTC 2004
>Originator:     Martin Husemann
>Release:        NetBSD 2.0F
System: NetBSD 2.0F NetBSD 2.0F (PORTER) #0: Fri Jun 11 09:39:58 CEST 2004 i386
Architecture: i386
Machine: i386

The x11/rxvt pkg detects ptm on -current and blindly (eroneously) assumes
we should have a sys/stropts.h header.

gcc -DHAVE_CONFIG_H -I/usr/pkg/include -I/usr/X11R6/include -DHAVE_LIBXPM -O2 -pipe -I/usr/pkg/include -I/usr/X11R6/include -DDEBUG_STRICT -I/usr/X11R6/include -I/usr/X11R6/include/X11 -I.. -I. -I. -c ptytty.c -o ptytty.o
ptytty.c:50:48: sys/stropts.h: No such file or directory
*** Error code 1

The source says:
#if defined(PTYS_ARE_PTMX) && !defined(__CYGWIN32__)
# include <sys/stropts.h>      /* for I_PUSH */


Try to build x11/rxvt on -current.

Add the missing autoconf magic.