pkgsrc-Bugs archive

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

pkg/51513: mail/mutt with slang option tries to pull in old/wrong slang



>Number:         51513
>Category:       pkg
>Synopsis:       mail/mutt with slang option fails to build - using old slang
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 28 08:00:00 +0000 2016
>Originator:     gcw%primenet.com.au@localhost
>Release:        NetBSD 7.99.38
>Organization:
>Environment:
System: NetBSD g.primenet.com.au 7.99.38 NetBSD 7.99.38 (F) #0: Wed Sep 21 17:22:56 AEST 2016 gcw%g.primenet.com.au@localhost:/obj/OBJDIR64/sys/arch/amd64/compile/F amd64
Architecture: x86_64
Machine: amd64
>Description:
	mail/mutt pkg (v1.7.0) fails to build with slang option

	It tries to bring in slang v1 (which was OK for mutt 1.6.*)
	but needs slang v2 for SLvsnprintf() which it includes.

>How-To-Repeat:
	Add to /etc/mk.conf:
		PKG_OPTIONS.mutt=slang
	build
>Fix:
	
Index: mail/mutt/options.mk
===================================================================
RCS file: /cvsroot/pkgsrc/mail/mutt/options.mk,v
retrieving revision 1.23
diff -u -r1.23 options.mk
--- mail/mutt/options.mk	21 Aug 2016 16:59:21 -0000	1.23
+++ mail/mutt/options.mk	28 Sep 2016 07:50:50 -0000
@@ -18,7 +18,7 @@
 ### Slang
 ###
 .if !empty(PKG_OPTIONS:Mslang)
-.  include "../../devel/libslang/buildlink3.mk"
+.  include "../../devel/libslang2/buildlink3.mk"
 CONFIGURE_ARGS+=	--with-slang=${BUILDLINK_PREFIX.libslang}
 .endif
 


Home | Main Index | Thread Index | Old Index