pkgsrc-Bugs archive

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

pkg/25671: pkgsrc/news/inn does not compile on non-IPv6-supporting systems



>Number:         25671
>Category:       pkg
>Synopsis:       pkgsrc/news/inn does not compile on non-IPv6-supporting systems
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat May 22 16:07:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Georg Schwarz
>Release:        current pkgsrc
>Organization:
>Environment:
IRIX lorenz 5.3 08031225 IP20 mips
>Description:
pkgsrc/news/inn fails to compile on systems that have no IPv6-supporting 
libraries and headers.
>How-To-Repeat:

>Fix:
The following patch fixes the problem by applying the IPv6 patch only when ${ 
_OPSYS_HAS_INET6} is set to "yes".

*** Makefile.orig       Sat May 22 17:06:47 2004
--- Makefile    Sat May 22 17:12:29 2004
***************
*** 7,16 ****
--- 7,26 ----
                        ftp://ftp.sunet.se/pub/news/nntp/inn/ \
                        ftp://ftp.fu-berlin.de/unix/news/inn/
  
+ .include "../../mk/bsd.prefs.mk"
+ .if ${_OPSYS_HAS_INET6} == "yes"
+ # IPv6 support
  PATCH_SITES=          ftp://ftp.north.ad.jp/pub/IPv6/INN/
  PATCHFILES=           inn-${INN_VERSION}-v6-20030327.diff.gz
  PATCH_DIST_STRIP=     -p1
  
+ . if defined(USE_INET6) && ${USE_INET6} == YES
+ CONFIGURE_ARGS+=        --enable-ipv6
+ . else
+ CONFIGURE_ARGS+=        --disable-ipv6
+ . endif
+ .endif
+ 
  MAINTAINER=           tron%NetBSD.org@localhost
  HOMEPAGE=             http://www.isc.org/inn.html
  COMMENT=              The public release of InterNet News (INN)
***************
*** 69,83 ****
  
  RCD_SCRIPTS=          innd
  
- .include "../../mk/bsd.prefs.mk"
- 
- # IPv6 support
- .if defined(USE_INET6) && ${USE_INET6} == YES
- CONFIGURE_ARGS+=      --enable-ipv6
- .else
- CONFIGURE_ARGS+=      --disable-ipv6
- .endif
- 
  .if ${OPSYS} == "SunOS"
  CONFIGURE_ARGS+=      --with-sendmail=/usr/lib/sendmail
  .else
--- 79,84 ----



>Release-Note:
>Audit-Trail:
>Unformatted:



Home | Main Index | Thread Index | Old Index