From owner-freebsd-questions@FreeBSD.ORG Fri Dec 9 15:18:21 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BE9B816A431 for ; Fri, 9 Dec 2005 15:18:21 +0000 (GMT) (envelope-from igorr@speechpro.com) Received: from speechpro.com (speech-tech-2.ip.PeterStar.net [81.3.190.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id E93E043DD1 for ; Fri, 9 Dec 2005 15:17:51 +0000 (GMT) (envelope-from igorr@speechpro.com) Received: from sysadm.stc ([192.168.2.26]) by s1.stc with esmtp (Exim 4.53 (FreeBSD)) id 1Ekk0G-0004P0-9I for freebsd-questions@freebsd.org; Fri, 09 Dec 2005 18:17:44 +0300 Received: from localhost.stc ([127.0.0.1] helo=sysadm.stc) by sysadm.stc with esmtp (Exim 4.54 (FreeBSD)) id 1Ekjzp-0000up-SA for freebsd-questions@freebsd.org; Fri, 09 Dec 2005 18:17:17 +0300 Received: (from igorr@localhost) by sysadm.stc (8.13.4/8.13.3/Submit) id jB9FHG3o003522 for freebsd-questions@freebsd.org; Fri, 9 Dec 2005 18:17:16 +0300 (MSK) (envelope-from igorr) Date: Fri, 9 Dec 2005 18:17:16 +0300 From: Igor Robul To: freebsd-questions@freebsd.org Message-ID: <20051209151716.GA3448@sysadm.stc> References: <200512081216.34417.ashley.moran@codeweavers.net> <200512081504.46197.ashley.moran@codeweavers.net> <20051209094515.GB878@sysadm.stc> <200512091122.32571.ashley.moran@codeweavers.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200512091122.32571.ashley.moran@codeweavers.net> User-Agent: Mutt/1.5.11 X-Archived: Yes Subject: Re: Send emails with attachments from command line X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Dec 2005 15:18:22 -0000 On Fri, Dec 09, 2005 at 11:22:32AM +0000, Ashley Moran wrote: > On Friday 09 December 2005 09:45, Igor Robul wrote: > > This is because it depends on XPM library. I have removed it manually > > and metamail works fine on my X11-less server :-) > > I use both mutt and metamail because metamail can "embed" content, while > > mutt does "simple" attachment. > > > Igor > > Could you explain how you did this? Do you have to install metamail, let it > drag X11 in, then remove everything afterwards, or can you modify the build > process? I saw nothing promising in Makefile. My error, it needs xloadimage and not xpm :-) You can just temporary remove RUN_DEPENDS= xloadimage:${PORTSDIR}/x11/xloadimage \ mkfontdir:${X_CLIENTS_PORT} from Makefile, and copy /usr/X11R6/bin/bdftopcf /usr/X11R6/lib/libXfont.so.1 /usr/local/lib/libfreetype.so.9 from your workstation. This is of course may cause some trouble :-) But I had not any.