Subject: pkg/28551: [RE-IMPORT] mail/deliver problems on IRIX 5.3
To: None <,,>
From: None <>
List: pkgsrc-bugs
Date: 12/05/2004 22:06:00
>Number:         28551
>Category:       pkg
>Synopsis:       [RE-IMPORT] mail/deliver problems on IRIX 5.3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 05 22:06:00 +0000 2004
>Originator:     Georg Schwarz
>Release:        current pkgsrc
IRIX lorenz 5.3 08031225 IP20 mips
mail/deliver patches Makefile to unconditionally use conf/os-netbsd.h as OSHEADER. On IRIX 5.3 this results in a failure because in unctime.y sys/timeb.h is assumed to exist which it does not.
Moreover Makefile assumes nroff exists.
Thirdly, installation fails because ${PREFIX}/share/examples/deliver does not exist:

cd /usr/people/schwarz/pkgsrc/mail/deliver/work/deliver-2.1.14/samples;  /usr/local/pkg/bin/install-sh -c -o root -g sys -m 444 README p-aliases s-aliases u-chip u-notify u-vacation  /usr/local/pkg/share/examples/deliver
install: destination is not a directory
*** Error code 1

Is install-sh supposed to automatically create such directories?

Using os-sysv.h instead worked for me.
Maybe ${LOCALBASE}/bin/groff can be used instead of nroff? (does that issue arise with other packages as well?).