# lndir/cfg - "Build" settings for package

#---------------------------------------------------------------------

[technotes]

1. "lndir.c"  was obtained from  the standard  XOrg 6.9.0  source tar-
ball. The following trivial patch was made:

      +#ifdef NOTDEF
       #include <X11/Xos.h>
       #include <X11/Xfuncproto.h>
      +#endif

That was on January 21, 2006.

#---------------------------------------------------------------------

2. Exactly 19 years to the day after the date that the first patch was
made,  "lndir.c" was patched again to make  the source compatible with
"gcc" 14.

#---------------------------------------------------------------------

[buildtimes]

00.00 hours (or 000.00 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo
                                  7200 2GB RAM
00.00 hours (or 000.02 minutes) - HP EliteBook 8560w 32GB RAM
00.00 hours (or 000.02 minutes) - ThinkPad E540 i7 4x2 16GB RAM
00.00 hours (or 000.03 minutes) - Compaq 1.7 GHz Intel Pentium 4 512MB
                                  RAM

#---------------------------------------------------------------------

[settings]
configure = none
exepack   = yes
license   = See "license.txt" under installed tree
revision  = 060121
rmtmpdir  = no
unpack    = none

#---------------------------------------------------------------------

[depends]
bzip2

#---------------------------------------------------------------------

[build]
BINDIR=$PKGDIR_PROD/bin
DOCDIR=$PKGDIR_PROD/doc
TMPDIR=/ram/build/lndir

mkdir -p $BINDIR $DOCDIR $TMPDIR
cp -p $PKGDIR_SPECIAL/license.txt $DOCDIR/

cd $TMPDIR
bzip2 -cd $PKGDIR_SPECIAL/lndir.c.bz2 > lndir.c
cc -o $BINDIR/lndir lndir.c
cd /
rm -fr $TMPDIR

#---------------------------------------------------------------------

# Original URLs. These URLs were valid at one point, but may have died
# since then. If you download newer versions of tarballs [etc.], don't
# delete  the  original versions,  as you may not  be able  to replace
# them.

[urls]
url_debian  = n/a
url_home    = http://www.x.org/
url_tarball = n/a           # See notes near start of this file

#---------------------------------------------------------------------

[history]
250121 Patched to fix a FTBFS with "gcc" 14