pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/37013: net/couriertcpd build breaks on non-IPv6 system



>Number:         37013
>Category:       pkg
>Synopsis:       net/couriertcpd build breaks on non-IPv6 system
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 21 10:20:00 +0000 2007
>Originator:     Aleksej Saushev <asau%hotbox.ru@localhost>
>Release:        NetBSD 4.99.31
>Organization:
>Environment:
System: NetBSD asau.local 4.99.31 NetBSD 4.99.31 (KERN) #0: Fri Sep 21 07:35:25 
MSD 2007 bsd%asau.local@localhost:/usr/obj/sys/arch/i386/compile/KERN i386
Architecture: i386
Machine: i386
>Description:
        Package build fails without IPv6 support and with 
PKG_DEFAULT_OPTIONS=-inet6.
        Thus mail/courier-imap cannot be built.
>How-To-Repeat:
        On system without IPv6 support add "PKG_DEFAULT_OPTIONS+=-inet6" to 
mk.conf
                cd mail/courier-imap; make
        or
                cd net/couriertcpd; make
>Fix:

--- net/couriertcpd/Makefile.orig       2007-09-18 01:21:37.000000000 +0400
+++ net/couriertcpd/Makefile    2007-09-21 14:04:01.000000000 +0400
@@ -18,6 +18,12 @@
 
 .include "../../mail/courier-mta/Makefile.common"
 
+.if !empty(PKG_OPTIONS:Minet6)
+CONFIGURE_ARGS+=       --with-ipv6
+.else
+CONFIGURE_ARGS+=       --without-ipv6
+.endif
+
 # This package doesn't need to depend on courier-authlib -- just fake
 # out the top-level configure script that thinks it needs
 # courierauthconfig.




Home | Main Index | Thread Index | Old Index