Subject: pkg/24607: pkgsrc/net/ntp4 problems on IRIX (and maybe others as well)
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <geos@epost.de>
List: netbsd-bugs
Date: 02/29/2004 17:55:47
>Number:         24607
>Category:       pkg
>Synopsis:       pkgsrc/net/ntp4 problems on IRIX (and maybe others as well)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 29 17:56:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Georg Schwarz
>Release:        pkgsrc-current
>Organization:
>Environment:
IRIX lorenz 5.3 08031225 IP20 mips
>Description:
npt4 on IRIX does not compile tickadj or ntptime, but instead compiles timetrim. PLIST should reflect this. The files affected are bin/tickadj, bin/ntptime, and bin/timetrim.
It appears that tickadj is also not built on Solaris.

In order to make the configure script regonize my pkgsrc OpenSSL installation I had to add to the top-level Makefile:
CONFIGURE_ARGS+=  --with-openssl-incdir=${SSLBASE}/include
CONFIGURE_ARGS+=  --with-openssl-libdir=${SSLBASE}/lib
CONFIGURE_ARGS+=  --with-crypto=openssl

IRIX's find does not support -print0 used in the top-level Makefile.

>How-To-Repeat:

>Fix:
- either split PLIST or prefix the relevant entries with ariables.
- include the above lines into Makefile or make it advertize openssl in another way
- change -print0 into -print and omit -0 for ${XARGS}
>Release-Note:
>Audit-Trail:
>Unformatted: