NetBSD Problem Report #45206

From  Tue Aug  2 01:42:55 2011
Return-Path: <>
Received: from ( [])
	by (Postfix) with ESMTP id 7349F63CBD0
	for <>; Tue,  2 Aug 2011 01:42:55 +0000 (UTC)
Message-Id: <>
Date: Mon, 1 Aug 2011 21:04:30 -0400
From: Matthew Mondor <>
Subject: pkgsrc-2011Q2 - x11/xlockmore - Forced unnecessary dependency on

>Number:         45206
>Category:       pkg
>Synopsis:       pkgsrc-2011Q2 - x11/xlockmore - Forced unnecessary dependency on esound
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 02 01:45:01 +0000 2011
>Originator:     Matthew Mondor
>Release:        NetBSD 5.1_STABLE
System: NetBSD behemoth.xisop 5.1_STABLE NetBSD 5.1_STABLE (GENERIC_MM) #0: Mon Aug 1 12:19:58 EDT 2011 root@behemoth.xisop:/usr/obj/sys/arch/i386/compile/GENERIC_MM i386
Architecture: i386
Machine: i386

The x11/xlockmore package somehow depended on esound, without an for it, so was the only software I built attempting to bring
esound along (I have -esound as part of my global options).

Either should be used to make esound optional, or the
support for esound should be disabled by default.  Since esound is old
(and suboptimal :) I went for the latter option in my diff.


Build x11/xlockmore despite -esound in global mk.conf options.

Apply the attached diff

Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=x11-xlockmore-diff.txt

Index: x11/xlockmore/Makefile
RCS file: /nfs/ginseng/home/data/cvsup/netbsd/pkgsrc/x11/xlockmore/Makefile,v
retrieving revision 1.87
diff -u -p -r1.87 Makefile
--- x11/xlockmore/Makefile	22 Apr 2011 13:45:16 -0000	1.87
+++ x11/xlockmore/Makefile	30 Jul 2011 02:29:23 -0000
@@ -8,6 +8,7 @@ COMMENT=	Like the XLock session-locker/s
 CONFIGURE_ARGS+=	--with-opengl
 CONFIGURE_ARGS+=	--with-mesa
 CONFIGURE_ARGS+=	--without-ttf
+CONFIGURE_ARGS+=	--without-esound
 XPM_ENV=	no_xpm= xpm_includes=${BUILDLINK_PREFIX.libXpm}/include xpm_libraries=${BUILDLINK_PREFIX.libXpm}/lib
 CONFIGURE_ENV+=	ac_cv_path_xpm=${XPM_ENV:Q}
 OPENGL_ENV= 	no_opengl= ac_opengl_includes=${BUILDLINK_PREFIX.MesaLib}/include ac_opengl_libraries=${BUILDLINK_PREFIX.MesaLib}/lib
@@ -23,7 +24,6 @@ PLIST_SUBST+=    LITE=""

 USE_TOOLS+=	pkg-config

-.include "../../audio/esound/"
 .include "../../graphics/MesaLib/"
 .include "../../graphics/glu/"
 .include "../../x11/libXpm/"


 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline

NetBSD Home
NetBSD PR Database Search

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