Subject: x11/xdm3d installation problem
To: None <pkgsrc-users@NetBSD.org>
From: OBATA Akio <obata@lins.jp>
List: pkgsrc-users
Date: 12/20/2006 02:27:50
Now x11/xdm3d is broken on NetBSD 3.1.

===> Installing for xdm3d-1.0nb1
=> Generating pre-install file lists
=> Creating installation directories
echo "/usr/X11R6 /etc/X11/xdm"
/usr/X11R6 /etc/X11/xdm
/usr/bin/install -c -s -o root -g wheel -m 555 /tmp/bulktmp/x11/xdm3d/work/xdm/xdm /usr/pkg/bin/xdm3d
/usr/bin/install -d -o root -g wheel -m 755 /usr/pkg/share/xdm3d
/usr/bin/install -c -o root -g wheel -m 444 /etc/X11/xdm/GiveConsole /usr/pkg/share/xdm3d
/usr/bin/install -c -o root -g wheel -m 444 /etc/X11/xdm/TakeConsole /usr/pkg/share/xdm3d
/usr/bin/install -c -o root -g wheel -m 444 /etc/X11/xdm/Xaccess /usr/pkg/share/xdm3d
/usr/bin/install -c -o root -g wheel -m 444 /etc/X11/xdm/Xservers /usr/pkg/share/xdm3d
/usr/bin/install -c -o root -g wheel -m 444 /etc/X11/xdm/Xsession /usr/pkg/share/xdm3d
/usr/bin/install -c -s -o root -g wheel -m 555 /etc/X11/xdm/chooser /usr/pkg/share/xdm3d
install: /etc/X11/xdm/chooser: stat: No such file or directory
*** Error code 1


On NetBSD 3.x, /usr/X11R6/libexec/chooser exists.
and On NetBSD 2.x, /usr/X11R6/lib/X11/xdm/chooser is symbolic link to that file.
Should we install that file?

Hmm, but xdm3d has own chooser, why not install it?
i.e. following patch OK?

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/x11/xdm3d/Makefile,v
retrieving revision 1.15
diff -u -r1.15 Makefile
--- Makefile    18 May 2006 20:30:02 -0000      1.15
+++ Makefile    19 Dec 2006 17:25:58 -0000
@@ -45,7 +45,7 @@
                sedexpr='-e s|^share/xdm3d/Xsetup$$|@comment\ &|';      \
        fi;                                                             \
        ${SED} "$$sedexpr" ${PKGDIR}/PLIST > ${PLIST_SRC}
-       ${INSTALL_PROGRAM} ${XDMDIR}/chooser ${PREFIX}/share/xdm3d
+       ${INSTALL_PROGRAM} ${WRKSRC}/chooser ${PREFIX}/share/xdm3d
        ${INSTALL_DATA_DIR} ${PREFIX}/share/xdm3d/authdir
        ${CHMOD} 700 ${PREFIX}/share/xdm3d/authdir
        ${SED} -e 's@${XDMDIR}@${PREFIX}/share/xdm3d@' < \

--
"Of course I love NetBSD":-)
OBATA Akio / obata@lins.jp