Subject: pkgsrc on FreeBSD and XFree86 in /usr/X11R6/
To: None <tech-pkg@NetBSD.org>
From: Krzysztof Kotlenga <pocek@polbrokers.dyndns.org>
List: tech-pkg
Date: 07/08/2004 12:52:26
Hi,

I'm using pkgsrc on FreeBSD 5.2.1 and got some problem with installing
x11/imake in /usr/X11R6/ insted of /usr/pkg/X11R6/.

Part of my /etc/mk.conf:

USE_XPKGWEDGE=no
X11ROOT=/usr/X11R6
X11BASE=${X11ROOT}
X11_TYPE=XFree86

I thought that setting X11BASE should be enough but it's overriten in
meta-pkgs/XFree86/Makefile.common :(

Imake installs in /usr/X11R6/, but there is generating wrong package
file list (PLIST), probably because of wrong PREFIX:

# pwd
/usr/pkgsrc/x11/imake
# bmake show-var VARNAME=PREFIX
/usr/pkg
#

If I set PREFIX=${X11BASE} in the last line of Makefile, there is still
problem with generating PLIST. Paths points to:

${PREFIX}/${X11ROOT_PREFIX}/[...]
became:
/usr/X11R6/X11R6/[...]

It's a mess :( TIA

-- 
; What color is a chameleon on a mirror?