Subject: gnome-session seems to be broken
To: None <tech-pkg@netbsd.org>
From: Guillaume Valadon <guillaume@valadon.net>
List: tech-pkg
Date: 02/21/2003 12:40:13
hello,

I tried to install gnome-session today, it just failed like that :

# cd /usr/pkgsrc/x11/gnome-session/

# make
===> Configuring for gnome-session-2.2.0.2
configure: error: expected an absolute directory name for --localstatedir: 
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/x11/gnome-session
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/x11/gnome-session

It failed because of that part of the Maekefile :
# grep -n localstatedir Makefile 
26:CONFIGURE_ARGS+=     --localstatedir=${SCROLLKEEPER_DATADIR}

The variable ${SCROLLKEEPER_DATADIR} has disappeared few days ago from
textproc/scrollkeeper/buildlink2.mk according to :
http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/textproc/scrollkeeper/buildlink2.mk.diff?r1=1.2&r2=1.3&f=h

It seems to work fine when putting back :
.if exists(${LOCALBASE}/libdata/scrollkeeper)
SCROLLKEEPER_DATADIR=			${LOCALBASE}/libdata
.else
SCROLLKEEPER_DATADIR=			${BUILDLINK_PREFIX.scrollkeeper}/var/lib
.endif

I hope it helps :*)

Guillaume
-- 
mailto:guillaume@valadon.net
ICQ uin : 1752110

Page ouebe : http://guillaume.valadon.net

     "Coding is like sex, it's dirty when it's good." - me :*)