diff -urN xc.orig/programs/Xserver/Xprint/etc/init.d/Imakefile xc/programs/Xserver/Xprint/etc/init.d/Imakefile --- xc.orig/programs/Xserver/Xprint/etc/init.d/Imakefile 2004-09-25 08:21:48.311566424 +0000 +++ xc/programs/Xserver/Xprint/etc/init.d/Imakefile 2004-09-25 08:28:02.899620384 +0000 @@ -29,8 +29,9 @@ #endif ETCDIR = EtcDir +PROJECTROOT = ProjectRoot -MakeScriptFromCpp(xprint, -DDEF_XPCUSTOMGLUE=$(XPCUSTOMGLUE) $(OS_DEFINES)) +MakeScriptFromCpp(xprint, -DDEF_XPCUSTOMGLUE=$(XPCUSTOMGLUE) $(OS_DEFINES) -DProjectRoot=$(PROJECTROOT)) #if defined(FreeBSDArchitecture) InstallNamedProg(xprint,xprint,$(PROJECTROOT)/etc/rc.d) diff -urN xc.orig/programs/Xserver/Xprint/etc/init.d/xprint.cpp xc/programs/Xserver/Xprint/etc/init.d/xprint.cpp --- xc.orig/programs/Xserver/Xprint/etc/init.d/xprint.cpp 2004-09-25 08:21:48.322564752 +0000 +++ xc/programs/Xserver/Xprint/etc/init.d/xprint.cpp 2004-09-25 08:26:40.179195800 +0000 @@ -176,9 +176,13 @@ #elif defined(OS_AIX) XPROJECTROOT=/usr/lpp/X11 #else +#if defined(ProjectRoot) +XPROJECTROOT=ProjectRoot +#else [ -d /usr/X11/bin ] && XPROJECTROOT=/usr/X11 [ -d /usr/X11R6/bin ] && XPROJECTROOT=/usr/X11R6 #endif +#endif XPCUSTOMGLUE=DEF_XPCUSTOMGLUE # This is used for customizing this script export XPROJECTROOT XPCUSTOMGLUE