From dom@happygiraffe.net  Thu Dec 13 07:54:56 2001
Return-Path: <dom@happygiraffe.net>
Received: from cathbad.happygiraffe.net (choke.semantico.com [212.74.15.98])
	by hub.freebsd.org (Postfix) with ESMTP id 498DA37B405
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 13 Dec 2001 07:54:55 -0800 (PST)
Received: by cathbad.happygiraffe.net (Postfix, from userid 1001)
	id 2796C61DE; Thu, 13 Dec 2001 15:54:44 +0000 (GMT)
Message-Id: <20011213155444.2796C61DE@cathbad.happygiraffe.net>
Date: Thu, 13 Dec 2001 15:54:44 +0000 (GMT)
From: Dominic Mitchell <dom@happygiraffe.net>
Reply-To: Dominic Mitchell <dom@happygiraffe.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: problem building mail/mutt WITH_SSL=1
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         32803
>Category:       ports
>Synopsis:       problem building mail/mutt WITH_SSL=1
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    obrien
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 13 08:00:01 PST 2001
>Closed-Date:    Sat Dec 15 21:11:50 PST 2001
>Last-Modified:  Sat Dec 15 21:12:06 PST 2001
>Originator:     Dominic Mitchell
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD cathbad.happygiraffe.net 5.0-CURRENT FreeBSD 5.0-CURRENT #15: Thu Dec 13 11:47:48 GMT 2001 root@cathbad.happygiraffe.net:/usr/obj/usr/src/sys/CATHBAD i386

Also verified on:

FreeBSD cassia.rp.lan 4.4-STABLE FreeBSD 4.4-STABLE #0: Mon Dec 10 09:49:14 GMT 2001     root@cassia.rp.lan:/usr/obj/usr/src/sys/CASSIA i386

>Description:
	When building the mutt port with WITH_SSL=1, the build fails
because a header file isn't there.  It's meant to be automatically
built, but isn't.
>How-To-Repeat:
	cd /usr/ports/mail/mutt && make WITH_SSL=1
>Fix:

Here's the patch:

--- Makefile.orig	Thu Dec 13 15:45:07 2001
+++ Makefile	Thu Dec 13 15:44:54 2001
@@ -89,6 +89,11 @@
 	cd ${WRKSRC}/charmaps/maps; ${LN} CP1251 WINDOWS-1251
 	cd ${WRKSRC}/charmaps/maps; ${RM} -f *.orig
 
+.if defined(WITH_SSL)
+pre-build:
+	cd ${WRKSRC} && ${MAKE} keymap_defs.h
+.endif
+
 .if !defined(NOPORTDOCS)
 post-build:
 	${TOUCH} ${WRKSRC}/doc/mutt.man ${WRKSRC}/doc/manual.sgml
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->obrien 
Responsible-Changed-By: ijliao 
Responsible-Changed-When: Thu Dec 13 10:02:21 PST 2001 
Responsible-Changed-Why:  
over to maintainer 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=32803 
State-Changed-From-To: open->closed 
State-Changed-By: dwcjr 
State-Changed-When: Sat Dec 15 21:11:50 PST 2001 
State-Changed-Why:  
Problem has been fixed. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=32803 
>Unformatted:
