Subject: pkg/13630: Add SLANG build option to mutt-devel package
To: None <gnats-bugs@gnats.netbsd.org>
From: None <jabley@automagic.org>
List: netbsd-bugs
Date: 08/05/2001 13:18:48
>Number: 13630
>Category: pkg
>Synopsis: Add SLANG build option to mutt-devel package
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sun Aug 05 13:15:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Joe Abley
>Release: 1.5.1
>Organization:
>Environment:
NetBSD goose 1.5.1 NetBSD 1.5.1 (GOOSE-$Revision: 1.3 $) #1: Sat Aug 4 19:56:59 EDT 2001 jabley@goose:/usr/src/sys/arch/i386/compile/GOOSE i386
>Description:
There is no option to build mutt using SLANG instead of ncurses.
>How-To-Repeat:
cd /usr/pkgsrc/mail/mutt-devel && make
>Fix:
--- mail/mutt-devel/Makefile Sun Aug 5 16:16:25 2001
+++ mail/mutt-devel/Makefile.new Sun Aug 5 16:13:16 2001
@@ -43,7 +43,15 @@
CONFIGURE_ARGS+= --without-ssl
.endif
+MUTT_USE_SLANG?= NO
+
+.if defined(MUTT_USE_SLANG) && ${MUTT_USE_SLANG} == "YES"
+CONFIGURE_ARGS+= --with-slang=${PREFIX}
+BUILD_DEPENDS+= libslang-1.4.4:../../devel/libslang
+.endif
+
BUILD_DEFS+= MUTT_USE_SSL
+BUILD_DEFS+= MUTT_USE_SLANG
DEINSTALL_FILE= ${WRKDIR}/DEINSTALL
INSTALL_FILE= ${WRKDIR}/INSTALL
MAKE_ENV+= PKGLOCALEDIR="${PKGLOCALEDIR}"
>Release-Note:
>Audit-Trail:
>Unformatted: