Subject: pkg/22925: qpopper doesn't have drac option
To: None <gnats-bugs@gnats.netbsd.org>
From: John Nemeth <jnemeth@access.victoria.bc.ca>
List: netbsd-bugs
Date: 09/23/2003 21:06:26
>Number:         22925
>Category:       pkg
>Synopsis:       qpopper package doesn't have a drac option
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 24 04:07:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     John Nemeth
>Release:        NetBSD 1.6.1
>Organization:
access Computer Systems
>Environment:
System: NetBSD access 1.6.1 NetBSD 1.6.1 (ACCESS) #0: Mon Jun 16 12:11:54 UTC 2003 root@:/usr/local/distrib/NetBSD-1.6.1/source/sets/unpack/usr/src/sys/arch/i386/compile/ACCESS i386
Architecture: i386
Machine: i386
Makefile.common:
     $NetBSD: Makefile.common,v 1.8 2003/03/13 07:23:25 itojun Exp $
>Description:
Although qpopper has had native support for DRAC for a couple of years,
the qpopper package still doesn't have a way of enabling it.
>How-To-Repeat:
Define POP_WITH_DRAC in /etc/mk.conf, build the qpopper package, and
notice that the resulting popper binary doesn't have any DRAC support.
>Fix:
Apply the following patch (and update the comment in
pkgsrc/mk/bsd.pkg.defaults.mk):

--- Makefile.common.orig	Tue Sep 23 20:54:13 2003
+++ Makefile.common	Tue Sep 23 20:50:34 2003
@@ -31,4 +31,9 @@
 CONFIGURE_ENV+=		O_DEFS="${O_DEFS}" CFLAGS="-DINET6"
 .endif
 
+.if defined(POP_WITH_DRAC)
+.include "../../mail/drac/buildlink2.mk"
+CONFIGURE_ARGS+=        --with-drac
+.endif
+
 LIBS+=			${LDFLAGS}
>Release-Note:
>Audit-Trail:
>Unformatted: