Date: Tue, 16 May 1995 22:47:19 +0200 From: Mark Murray <mark@grondar.za> To: ports@FreeBSD.org, bugs@FreeBSD.org Subject: Late fix for XFree86 port Message-ID: <199505162047.WAA17633@grumble.grondar.za>
next in thread | raw e-mail | index | archive | help
Hi I did not want to abuse my recently acquired commit powers, so here is a fix for XFree86 as set in ports/x11/XFree86. The problem was that if Xfree86 is not installed on your system, a bit of source code that is compiled and linked off your O'Reilly and Associates CDROM will not compile because of a lack of some X Header files. This patch points gcc in the right direction (on the CDROM) for long enough to make it work. The code concerned generates the link farm that is eventually patched and compiled to make Xfree. ----------------------8<-----------Patch relative to ports/x11------- diff -cdPr XFree86/scripts/configure XFree86.MM/scripts/configure *** XFree86.MM/scripts/configure Tue May 16 20:53:20 1995 --- XFree86/scripts/configure Tue May 16 22:35:56 1995 *************** *** 36,42 **** fi echo "==> building the tree (please wait)" if [ -f ${WRKDIR}/.cd_OR ] ; then ! (cd $WRKDIR; cp $X11R6/xc/config/util/lndir.c .; cc -o lndir lndir.c; mkdir ./xc; ./lndir $X11R6/xc ./xc) fi if [ -f ${WRKDIR}/.cd_X ] ; then (cd $WRKDIR; sh $FILESDIR/maketree $X11R6) --- 36,42 ---- fi echo "==> building the tree (please wait)" if [ -f ${WRKDIR}/.cd_OR ] ; then ! (cd $WRKDIR; cp $X11R6/xc/config/util/lndir.c .;ln -s $X11R6/xc/include X11; cc -o lndir -I. lndir.c; mkdir ./xc; ./lndir $X11R6/xc ./xc) fi if [ -f ${WRKDIR}/.cd_X ] ; then (cd $WRKDIR; sh $FILESDIR/maketree $X11R6) ----------------------8<-----------Patch relative to ports/x11------- -- Mark Murray 46 Harvey Rd, Claremont, Cape Town 7700, South Africa +27 21 61-3768 GMT+0200
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199505162047.WAA17633>