pkgsrc-Bugs archive

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

pkg/46639: irssi port disables ncurses on non-NetBSD platforms



>Number:         46639
>Category:       pkg
>Synopsis:       irssi port disables ncurses on non-NetBSD platforms
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 29 23:30:00 +0000 2012
>Originator:     Moritz Wilhelmy
>Release:        none
>Organization:
>Environment:
Linux starf 3.2.0-2-686-pae #1 SMP Fri Jun 1 18:56:14 UTC 2012 i686 GNU/Linux

>Description:
The irssi port's Makefile adds "--without-ncurses" to CONFIGURE_ARGS, which 
breaks compilation on non-NetBSD platforms which use ncurses.
>How-To-Repeat:
Build irssi on Linux.
>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/chat/irssi/Makefile,v
retrieving revision 1.58
diff -u -p -r1.58 Makefile
--- Makefile    3 Mar 2012 00:12:48 -0000       1.58
+++ Makefile    29 Jun 2012 23:23:35 -0000
@@ -22,9 +22,12 @@ USE_TOOLS+=          pkg-config
 
 CONFIGURE_ARGS+=       --with-terminfo \
                        --with-proxy \
-                       --without-ncurses \
                        --sysconfdir=${PKG_SYSCONFDIR}
 
+.if ${OPSYS} == "NetBSD"
+CONFIGURE_ARGS+=       --without-ncurses
+.endif
+
 EGDIR=         ${PREFIX}/share/examples/irssi
 CONF_FILES=    ${EGDIR}/irssi.conf ${PKG_SYSCONFDIR}/irssi.conf
 



Home | Main Index | Thread Index | Old Index