Subject: pkg/27886: net/host doesn't builds on FreeBSD
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <pancake@phreaker.net>
List: pkgsrc-bugs
Date: 11/04/2004 17:07:25
>Number: 27886
>Category: pkg
>Synopsis: FreeBSD uses libbind instead of libresolv
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: support
>Submitter-Id: net
>Arrival-Date: Thu Nov 04 15:59:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: pancake
>Release: FreeBSD 6.0-CURRENT
>Organization:
>Environment:
System: FreeBSD porticoluna 6.0-CURRENT FreeBSD 6.0-CURRENT #1: Wed Sep 22 12:06:57 CEST 2004 esn@porticoluna:/usr/obj/usr/src/sys/KERN_PLUNA2 i386
Architecture: i386
Machine: i386
>Description:
FreeBSD doesn't have libresolv. it uses libbind from bind9
installed on the base system.
>How-To-Repeat:
>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/net/host/Makefile,v
retrieving revision 1.8
diff -r1.8 Makefile
18a19,25
> .if ${OPSYS} == "FreeBSD"
> SUBST_CLASSES=lib
> SUBST_STAGE.lib=post-patch
> SUBST_FILES.lib=Makefile
> SUBST_SED.lib=-e 's,resolv,bind,g'
> .endif
>
>Release-Note:
>Audit-Trail:
>Unformatted: