Subject: pkg/28756: mail/postfix fails to build
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <j+nbsd@2004.salmi.ch>
List: pkgsrc-bugs
Date: 12/22/2004 20:03:01
>Number:         28756
>Category:       pkg
>Synopsis:       mail/postfix fails to build
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 22 20:03:00 +0000 2004
>Originator:     Jukka Salmi
>Release:        NetBSD 2.99.11
>Environment:
System: NetBSD himo.salmi.ch 2.99.11 NetBSD 2.99.11 (GENERIC) #0: Wed Dec 22 16:41:14 CET 2004 build@himo.salmi.ch:/build/nbsd/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
mail/postfix fails to build if inet6 option is not enabled.
>How-To-Repeat:
$ cd pkgsrc/mail/postfix && make PKG_OPTIONS.postfix= patch
[...]
==========================================================================
===> patch-message [postfix-2.1.5nb2] ===> Patching for postfix-2.1.5nb2
===> do-patch [postfix-2.1.5nb2] ===> Applying distribution patches for postfix-2.1.5nb2
===> do-patch [postfix-2.1.5nb2] ===> Applying pkgsrc patches for postfix-2.1.5nb2
1 out of 1 hunks failed--saving rejects to src/util/inet_addr_list.h.rej
Patch /usr/pkgsrc/mail/postfix/patches/patch-aj failed
==========================================================================
>Fix:
patch-aj applies fine if inet6 is enabled. So this patch should probably be
included conditionally, i.e. only if PKG_OPTIONS has inet6.