Subject: pkg/25517: No knob for building the irssi proxy
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <duck@multi.fi>
List: pkgsrc-bugs
Date: 05/09/2004 22:41:15
>Number:         25517
>Category:       pkg
>Synopsis:       No knob for building the irssi proxy
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun May 09 19:42:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 2.0C
>Organization:
>Environment:
System: NetBSD knightrider.shangtai.net 2.0C NetBSD 2.0C (KITT) #6: Mon Apr 19 23:42:44 EEST 2004 root@knightrider.shangtai.net:/usr/src/sys/arch/alpha/compile/KITT alpha
Architecture: alpha
Machine: alpha
>Description:
There is no knob to specify that you want to use the proxy within irssi
>How-To-Repeat:
>Fix:
$NetBSD: Makefile,v 1.26 2004/04/14 01:19:47 snj Exp $
--- Makefile.orig	2004-05-09 22:01:01.000000000 +0300
+++ Makefile	2004-05-09 22:07:35.000000000 +0300
@@ -21,7 +21,6 @@
 
 CONFIGURE_ARGS+=       --with-terminfo \
                        --without-ncurses \
-                       --enable-proxy \
                        --sysconfdir=${PKG_SYSCONFDIR}
 
 # Avoid an ICE in gcc2 on sparc64
@@ -58,6 +57,10 @@
 CONFIGURE_ARGS+=       --disable-ssl
 .endif
 
+.if defined(IRSSI_USE_PROXY) && !empty(IRSSI_USE_PROXY:M[Yy][Ee][Ss])
+CONFIGURE_ARGS+=       --with-proxy
+.endif
+
 post-install:
        ${INSTALL_DATA} ${WRKSRC}/config.h ${IRSSI_CONFIG_H}
        ${INSTALL_DATA} ${WRKSRC}/irssi-config ${IRSSI_CONFIG}

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