NetBSD Problem Report #53963

From www@NetBSD.org  Sat Feb  9 10:43:50 2019
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 8DEEE7A14F
	for <gnats-bugs@gnats.NetBSD.org>; Sat,  9 Feb 2019 10:43:50 +0000 (UTC)
Message-Id: <20190209104349.BB73F7A1F5@mollari.NetBSD.org>
Date: Sat,  9 Feb 2019 10:43:49 +0000 (UTC)
From: js-pkgsrc@heap.zone
Reply-To: js-pkgsrc@heap.zone
To: gnats-bugs@NetBSD.org
Subject: claws-mail: Fix compilation on Darwin
X-Send-Pr-Version: www-1.0

>Number:         53963
>Category:       pkg
>Synopsis:       claws-mail: Fix compilation on Darwin
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bsiegert
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 09 10:45:00 +0000 2019
>Closed-Date:    Sat Feb 16 16:28:09 +0000 2019
>Last-Modified:  Sat Feb 16 16:30:00 +0000 2019
>Originator:     Jonathan Schleifer
>Release:        HEAD
>Organization:
>Environment:
Darwin
>Description:
claws-mail depends on startup-notification, even when using native Quartz GTK.
>How-To-Repeat:
Build claws-mail on Darwin
>Fix:
commit 60b847b20513f5f1bd386156aa35ead4e598b7eb
Author: Jonathan Schleifer <js@heap.zone>
Date:   Sun Aug 13 20:40:53 2017 +0200

    claws-mail: Fix compilation on Darwin

diff --git a/mail/claws-mail/Makefile b/mail/claws-mail/Makefile
index 22491665473..99d195af365 100644
--- a/mail/claws-mail/Makefile
+++ b/mail/claws-mail/Makefile
@@ -78,7 +78,9 @@ PLIST_SRC+=	PLIST.shred
 .include "../../converters/libiconv/buildlink3.mk"
 .include "../../graphics/hicolor-icon-theme/buildlink3.mk"
 .include "../../x11/gtk2/buildlink3.mk"
+.if "${OPSYS}" != "Darwin"
 .include "../../x11/startup-notification/buildlink3.mk"
+.endif
 .include "../../x11/libSM/buildlink3.mk"
 .include "../../sysutils/desktop-file-utils/desktopdb.mk"
 .include "../../mk/bdb.buildlink3.mk"

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->macos-pkg-people
Responsible-Changed-By: leot@NetBSD.org
Responsible-Changed-When: Sat, 09 Feb 2019 10:52:22 +0000
Responsible-Changed-Why:
Mac OS X problem.


Responsible-Changed-From-To: macos-pkg-people->bsiegert
Responsible-Changed-By: bsiegert@NetBSD.org
Responsible-Changed-When: Sat, 16 Feb 2019 16:28:09 +0000
Responsible-Changed-Why:
take


State-Changed-From-To: open->closed
State-Changed-By: bsiegert@NetBSD.org
State-Changed-When: Sat, 16 Feb 2019 16:28:09 +0000
State-Changed-Why:
Fix committed, thanks!


From: "Benny Siegert" <bsiegert@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/53963 CVS commit: pkgsrc/mail/claws-mail
Date: Sat, 16 Feb 2019 16:27:19 +0000

 Module Name:	pkgsrc
 Committed By:	bsiegert
 Date:		Sat Feb 16 16:27:19 UTC 2019

 Modified Files:
 	pkgsrc/mail/claws-mail: Makefile

 Log Message:
 claws-mail: fix compilation on Darwin without X11.

 Patch from Jonathan Schleifer in PR pkg/53963.


 To generate a diff of this commit:
 cvs rdiff -u -r1.97 -r1.98 pkgsrc/mail/claws-mail/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.