Subject: EVAL_PREFIX doesn't work with the xfree 4.x xpm and xpkgwedge
To: None <tech-pkg@netbsd.org>
From: Bernd Ernesti <netbsd@arresum.inka.de>
List: tech-pkg
Date: 08/31/2000 23:55:44
Hi,
graphics/gd/Makefile has the following lines:
EVAL_PREFIX+= XPMDIR=xpm
CPPFLAGS+= -I${XPMDIR}/include -I${XPMDIR}/include/X11 # xpm.h
This won't work if you use XFree 4.x (which has its own xpm) and xpkgwedge.
bsd.pkg.mk sets X11PREFIX to ${LOCALBASE}, the xpm package doesn't exists on
the system so X11PREFIX comes into play (see line 1260 of bsd.pkg.mk) which
points to /usr/pkg and not /usr/X11R6.
So the pkg doesn't find the xpm.h.
Any idea how we could fix that problem?
There are other Makefiles which use EVAL_PREFIX:
converters/wv/Makefile
games/maelstrom/Makefile
games/xarchon/Makefile
games/xpat2/Makefile
graphics/fly/Makefile
graphics/libwmf/Makefile
math/xmgr/Makefile
sysutils/asapm/Makefile
www/Mosaic/Makefile
x11/fvwm2/Makefile
x11/icewm/Makefile
x11/rxvt/Makefile
x11/wmx/Makefile
x11/xfce/Makefile
x11/xpmroot/Makefile
Bernd