Subject: pkg/27203: www/mini_httpd assumes libutil exists
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <geos@epost.de>
List: pkgsrc-bugs
Date: 10/10/2004 14:19:44
>Number:         27203
>Category:       pkg
>Synopsis:       www/mini_httpd assumes libutil exists
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 10 14:20:01 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Georg Schwarz
>Release:        current pkgsrc
>Organization:
>Environment:
IRIX lorenz 5.3 08031225 IP20 mips
>Description:
www/mini_httpd links with -lutil, whih does not exist (nor seems to be needed) on IRIX 5.3 (and maybe others)
>How-To-Repeat:

>Fix:
Change Makefile into

LDFLAGS+=       -lssl -lcrypto -lcrypt
.include "../../mk/bsd.prefs.mk"
.if empty(LOWER_OPSYS:Mirix5*)
LDFLAGS+=       -lutil
.endif

Maybe it would be even better to add libutil only on the platforms that require it.
>Release-Note:
>Audit-Trail:
>Unformatted: