From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Feb 15 22:40:04 2007 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DE77916A400 for ; Thu, 15 Feb 2007 22:40:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id A970513C467 for ; Thu, 15 Feb 2007 22:40:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l1FMe4vW070812 for ; Thu, 15 Feb 2007 22:40:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l1FMe41U070811; Thu, 15 Feb 2007 22:40:04 GMT (envelope-from gnats) Resent-Date: Thu, 15 Feb 2007 22:40:04 GMT Resent-Message-Id: <200702152240.l1FMe41U070811@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Mark Kane" Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2109116A468; Thu, 15 Feb 2007 22:33:46 +0000 (UTC) (envelope-from mark@mkproductions.org) Received: from flpi102.sbcis.sbc.com (flpi102.sbcis.sbc.com [207.115.20.71]) by mx1.freebsd.org (Postfix) with ESMTP id 10B7313C4BA; Thu, 15 Feb 2007 22:33:46 +0000 (UTC) (envelope-from mark@mkproductions.org) Received: from amd64.localhost (adsl-75-50-55-67.dsl.spfdmo.sbcglobal.net [75.50.55.67]) by flpi102.sbcis.sbc.com (8.13.8 out.dk.spool/8.13.8) with ESMTP id l1FMARBg006742; Thu, 15 Feb 2007 14:10:27 -0800 Message-Id: <1171577428.82713@amd64.localhost> Date: Thu, 15 Feb 2007 16:10:28 -0600 From: "Mark Kane" To: "FreeBSD gnats submit" X-Send-Pr-Version: gtk-send-pr 0.4.8 Cc: netchild@FreeBSD.org Subject: ports/109211: [PATCH] mail/claws-mail - Use proper "mime.types" file for attachments X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Feb 2007 22:40:04 -0000 >Number: 109211 >Category: ports >Synopsis: [PATCH] mail/claws-mail - Use proper "mime.types" file for attachments >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Feb 15 22:40:04 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Mark Kane >Release: FreeBSD 6.2-STABLE amd64 >Organization: MKProductions >Environment: System: FreeBSD 6.2-STABLE #2: Wed Feb 14 15:34:55 CST 2007 mixx941@amd64.localhost:/usr/obj/usr/src/sys/AMD645200 >Description: Hi. By default, Claws Mail looks in /etc/ for the "mime.types" file to know what MIME types to set when sending various attachment file extensions. The "mime.types" file is located at /usr/local/etc/ on FreeBSD, so Claws Mail cannot find it by default (and attachments are not sent with the proper MIME types). The attached patch sets the "SYSCONFDIR" environment variable upon compiling so Claws Mail knows where the file is and can properly load it when running the application. Thanks, -Mark >How-To-Repeat: >Fix: --- claws-mail.patch begins here --- --- mail/claws-mail/Makefile.bak Thu Feb 15 15:13:50 2007 +++ mail/claws-mail/Makefile Thu Feb 15 15:21:13 2007 @@ -48,7 +48,8 @@ CONFIGURE_ENV= CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}" \ CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \ LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib" \ - LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" + LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \ + SYSCONFDIR="${LOCALBASE}/etc" OPTIONS= ALL "Enable all options." off \ ASPELL "Enable spell checking support." on \ --- claws-mail.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: