NetBSD Problem Report #40685

From www@NetBSD.org  Thu Feb 19 02:07:22 2009
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 0AE7A63BB35
	for <gnats-bugs@gnats.netbsd.org>; Thu, 19 Feb 2009 02:07:22 +0000 (UTC)
Message-Id: <20090219020721.CB8E063B8C3@narn.NetBSD.org>
Date: Thu, 19 Feb 2009 02:07:21 +0000 (UTC)
From: anthony.mallet@useless-ficus.net
Reply-To: anthony.mallet@useless-ficus.net
To: gnats-bugs@NetBSD.org
Subject: www/emacs-w3m doesn't compile with xemacs
X-Send-Pr-Version: www-1.0

>Number:         40685
>Category:       pkg
>Synopsis:       www/emacs-w3m doesn't compile with xemacs
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    uebayasi
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 19 02:10:00 +0000 2009
>Last-Modified:  Thu Feb 19 10:18:12 +0000 2009
>Originator:     Anthony Mallet
>Release:        4.99.72-current
>Organization:
>Environment:
NetBSD citrus 4.99.72 NetBSD 4.99.72 (CITRUS) #18: Mon Feb  9 20:33:04 JST 2009  troot@citrus:/usr/obj/sys/arch/i386/compile/CITRUS i386

>Description:
The package www/emacs-w3m doesn't compile out-of-the-box with
an EMACS_TYPE=xemacs214 setting. The problem actually comes from the default dependency on devel/semi and/or editor/mule-ucs, but those are not needed to run emacs-w3m with xemacs.

Also, devel/apel-1.32 is provided by editor/xemacs-packages and need not to be reinstalled if xemacs-packages is already installed.

>How-To-Repeat:
% echo EMACS_TYPE=xemacs214 >>/etc/mk.conf
% cd /usr/pkgsrc/www/emacs-w3m
% make

>Fix:
Just removing those three lines works:
#.include "../../devel/apel/buildlink3.mk"
#.include "../../devel/semi/buildlink3.mk"
#.include "../../editors/mule-ucs/buildlink3.mk"

They should probably be included conditionnaly depending on EMACS_FLAVOR, and some other trick would be required to check if xemacs-packages is present (devel/apel not needed) or not (devel/apel needed).


>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->uebayasi
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Thu, 19 Feb 2009 10:18:12 +0000
Responsible-Changed-Why:
Over to maintainer.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.