Subject: pkg/33856: Aide needs to buildlink zlib
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <Lloyd.Parkes@ird.govt.nz>
List: pkgsrc-bugs
Date: 06/28/2006 21:45:01
>Number:         33856
>Category:       pkg
>Synopsis:       Aide needs to buildlink zlib
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 28 21:45:01 +0000 2006
>Originator:     Lloyd Parkes
>Release:        Solaris 9
>Organization:
Inland Revenue
>Environment:
SunOS XXXX.ird.govt.nz 5.9 Generic_118558-28 sun4u sparc SUNW,UltraAX-i2
>Description:
Aide requires zlib, but the security/aide Makefile doesn't have a buildink include for it.
>How-To-Repeat:
Type bmake on a Solaris box and watch it not build

    checking for zlib.h... yes
    checking for gzdopen in -lz... no
    configure: error: You don't have zlib properly installed.
    Install it or try --without-zlib.
    *** Error code 1

    Stop.
    bmake: stopped in /home/lloyd/pkgsrc/security/aide

>Fix:
Add the following line to pkgsrc/security/aide/Makefile

    .include "../../devel/zlib/buildlink3.mk"