From owner-freebsd-ports  Thu Oct  3 11:20: 7 2002
Delivered-To: freebsd-ports@hub.freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 4590D37B404
	for <freebsd-ports@hub.freebsd.org>; Thu,  3 Oct 2002 11:20:04 -0700 (PDT)
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 1507D43E6E
	for <freebsd-ports@hub.freebsd.org>; Thu,  3 Oct 2002 11:20:03 -0700 (PDT)
	(envelope-from gnats@FreeBSD.org)
Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1])
	by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g93IK2Co073453
	for <freebsd-ports@freefall.freebsd.org>; Thu, 3 Oct 2002 11:20:02 -0700 (PDT)
	(envelope-from gnats@freefall.freebsd.org)
Received: (from gnats@localhost)
	by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g93IK2Mb073451;
	Thu, 3 Oct 2002 11:20:02 -0700 (PDT)
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id 0018237B401; Thu,  3 Oct 2002 11:11:15 -0700 (PDT)
Received: from h132-197-179-27.gte.com (h132-197-179-27.gte.com [132.197.179.27])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id 59B0943E6E; Thu,  3 Oct 2002 11:11:15 -0700 (PDT)
	(envelope-from ak03@gte.com)
Received: from kanpc.gte.com (localhost [IPv6:::1])
	by h132-197-179-27.gte.com (8.12.6/8.12.6) with ESMTP id g93IBAU7057460;
	Thu, 3 Oct 2002 14:11:11 -0400 (EDT)
	(envelope-from ak03@kanpc.gte.com)
Received: (from ak03@localhost)
	by kanpc.gte.com (8.12.6/8.12.6/Submit) id g93IBAuv057459;
	Thu, 3 Oct 2002 14:11:10 -0400 (EDT)
Message-Id: <200210031811.g93IBAuv057459@kanpc.gte.com>
Date: Thu, 3 Oct 2002 14:11:10 -0400 (EDT)
From: Alexander Kabaev <ak03@gte.com>
Reply-To: Alexander Kabaev <ak03@gte.com>
To: FreeBSD-gnats-submit@FreeBSD.org
Cc: steve@FreeBSD.org
X-Send-Pr-Version: 3.113
Subject: ports/43636: MWM ignores LIBDIR after upgrade to 2.2.2 + PATCH
Sender: owner-freebsd-ports@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-ports.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-ports>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-ports>
X-Loop: FreeBSD.org


>Number:         43636
>Category:       ports
>Synopsis:       MWM ignores LIBDIR after upgrade to 2.2.2 + PATCH
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 03 11:20:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Alexander Kabaev
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD kanpc.gte.com 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Thu Oct 3 11:43:19 EDT 2002 root@kanpc.gte.com:/usr/obj/usr/src/sys/KANPC i386


	
>Description:
	mwm tries to search in /usr/lib/X11 for its system.mwmrc
        file. This happens because mwm Makefile fails to add
	correct LIBDIR value deduced by configure to compiler
	flags. MWM falls back to incorrect default value if
	LIBDIR is not defined.

>How-To-Repeat:
	Use mwm as your window maneger and see its error output.
>Fix:
	With this new patch in port files/ subdir mwm works
	as expected again.

Index: files/patch-clients::mwm::Makefile.in
===================================================================
RCS file: files/patch-clients::mwm::Makefile.in
diff -N files/patch-clients::mwm::Makefile.in
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-clients::mwm::Makefile.in	3 Oct 2002 17:10:00 -0000
@@ -0,0 +1,10 @@
+--- clients/mwm/Makefile.in.orig	Thu Oct  3 13:07:30 2002
++++ clients/mwm/Makefile.in	Thu Oct  3 13:07:52 2002
+@@ -104,6 +104,7 @@
+            -DCDE_INSTALLATION_TOP=\"@CDE_INSTALLATION_TOP@\" \
+            -DCDE_CONFIGURATION_TOP=\"@CD_CONFIGURATION_TOP@\" \
+            -DBITMAPDIR=\"@INCDIR@/bitmaps\" \
++           -DLIBDIR=\"@LIBDIR@\" \
+            -I$(srcdir)/../../lib ${X_CFLAGS}
+ 
+ 

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message