NetBSD Problem Report #45204

From mm_lists@pulsar-zone.net  Tue Aug  2 01:42:52 2011
Return-Path: <mm_lists@pulsar-zone.net>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id E949B63BEEB
	for <gnats-bugs@gnats.NetBSD.org>; Tue,  2 Aug 2011 01:42:51 +0000 (UTC)
Message-Id: <201108020055.p720tqOY017696@ginseng.pulsar-zone.net>
Date: Mon, 1 Aug 2011 20:55:52 -0400
From: Matthew Mondor <mm_lists@pulsar-zone.net>
To: gnats-bugs@gnats.NetBSD.org
Subject: pkgsrc-2011Q2 - x11/xcompmgr - Problem with native XOrg

>Number:         45204
>Category:       pkg
>Synopsis:       pkgsrc-2011Q2 - x11/xcompmgr - Problem with native XOrg
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 02 01:45:00 +0000 2011
>Originator:     Matthew Mondor
>Release:        NetBSD 5.1_STABLE
>Organization:
>Environment:
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
>Description:

Although the base X11 set for NetBSD-5 is XOrg and the xcompmgr package
then works fine with it, the Makefile checks error and are probably
buggy.

>How-To-Repeat:

Build x11/xcompmgr against base-x11 Xorg.

>Fix:
I'm not familiar with the X11 tests syntax so in my local diff I just
disabled the checks; possibly that a better fix exists.  Here
nevertheless is attached my diff.

--MP_/gf/rLTz7lqrUY+1zMgCaB2l
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=x11-xcompmgr-diff.txt

Index: x11/xcompmgr/Makefile
===================================================================
RCS file: /nfs/ginseng/home/data/cvsup/netbsd/pkgsrc/x11/xcompmgr/Makefile,v
retrieving revision 1.26
diff -u -p -r1.26 Makefile
--- x11/xcompmgr/Makefile	9 Nov 2009 19:08:42 -0000	1.26
+++ x11/xcompmgr/Makefile	29 Jul 2011 18:30:48 -0000
@@ -30,10 +30,10 @@ CPPFLAGS+=	${XCOMPMGR_DEFS}

 .include "../../mk/bsd.prefs.mk"

-.if defined(X11_TYPE) && !empty(X11_TYPE:MXFree86) || \
-    defined(X11_TYPE) && !empty(X11_TYPE:Mnative) || !defined(X11_TYPE)
-PKG_FAIL_REASON+=	"This package is exclusively for X.org."
-.endif
+#.if defined(X11_TYPE) && !empty(X11_TYPE:MXFree86) || \
+#    defined(X11_TYPE) && !empty(X11_TYPE:Mnative) || !defined(X11_TYPE)
+#PKG_FAIL_REASON+=	"This package is exclusively for X.org."
+#.endif

 .include "../../x11/compositeproto/buildlink3.mk"
 .include "../../x11/libXdamage/buildlink3.mk"

--MP_/gf/rLTz7lqrUY+1zMgCaB2l--

>Unformatted:
 --MP_/gf/rLTz7lqrUY+1zMgCaB2l
 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: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.