Subject: pkg/8392: fvwm2--enable xpm w/ xpkgwedge, readline, rplay
To: None <gnats-bugs@gnats.netbsd.org>
From: None <msouth@scruz.net>
List: netbsd-bugs
Date: 09/12/1999 20:52:13
>Number:         8392
>Category:       pkg
>Synopsis:       fvwm2--enable xpm w/ xpkgwedge, readline, rplay
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager (NetBSD software packages system bug manager)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Sep 12 20:50:00 1999
>Last-Modified:
>Originator:     Michael South
>Organization:
>Release:        1999/09/12
>Environment:
System: NetBSD wrongsz.msouth.ba.ca.us 1.4I NetBSD 1.4I (WRONGSZ) #1: Sat Aug 7 00:32:45 PDT 1999 bsdsrc@wrongsz.msouth.ba.ca.us:/serve/develop/netbsd/src/sys/arch/i386/compile/WRONGSZ i386


>Description:
	Currently, the fvwm2 package won't recognize xpm, readline, or
	rplay unless their include files are in /usr/include.  This patch
	causes configure to look in $PREFIX/include.

>How-To-Repeat:
	Make one or more of the following, and install them in /usr/pkg/...:
	- package devel/readline
	- package audio/rplay
	- package graphics/xpm with xpkgwedge (USE_LOCALBASE_FOR_X11)

	Go to x11/fvwm2 package, "make configure".  See that configure can't
	find the .h files for the packages.

>Fix:
Patch to x11/fvwm2/Makefile:
* 28a29,34
* > CONFIGURE_ARGS+=      --with-xpm-includes=${PREFIX}/include
* > # We've got a choice for the following two include definitions:
* > # 1)  Use PREFIX, which won't work without USE_LOCALBASE_FOR_X11 (xpkgwedge)
* > # 2)  use LOCALBASE, which won't work for cross-compilation
* > CONFIGURE_ARGS+=      --with-readline-includes=${LOCALBASE}/include
* > CONFIGURE_ARGS+=      --with-rplay-includes=${LOCALBASE}/include

>Audit-Trail:
>Unformatted: