Subject: Re: libcompface
To: None <tech-pkg@netbsd.org>
From: Thorsten Frueauf <s_frueau@ira.uka.de>
List: tech-pkg
Date: 08/30/1998 13:11:01
Hello!

[moved this to tech-pkg as it is no longer an hp300 issues]

> Seems as this is yet another thing found by the xemacs configure which
> is then be used. Now there are two possibilities:
> 
> 1) switch faces support off by default in the xemacs20 package or
> 2) create a DEPENDS to the faces package

While I just checked in a USE_XFACE flag to decide if faces should be
used or not I did a `ldd xemacs` and opened a can of worms:

/usr/pkg/bin/xemacs:
        -lXaw.6 => /usr/X11R6/lib/libXaw.so.6.1 (0x812c000)
        -lpng.1 => /usr/pkg/lib/libpng.so.1.0 (0x815c000)
        -ljpeg.62 => /usr/pkg/lib/libjpeg.so.62.0 (0x8172000)
        -lcompface.1 => /usr/pkg/lib/libcompface.so.1.0 (0x818c000)
        -lXpm.4 => /usr/X11R6/lib/libXpm.so.4.11 (0x8192000)
        -lXmu.6 => /usr/X11R6/lib/libXmu.so.6.0 (0x819e000)
        -lXt.6 => /usr/X11R6/lib/libXt.so.6.0 (0x81ae000)
        -lXext.6 => /usr/X11R6/lib/libXext.so.6.3 (0x81ea000)
        -lX11.6 => /usr/X11R6/lib/libX11.so.6.1 (0x81f4000)
        -lSM.6 => /usr/X11R6/lib/libSM.so.6.0 (0x8278000)
        -lICE.6 => /usr/X11R6/lib/libICE.so.6.3 (0x8280000)
        -lgdbm.1 => /usr/pkg/lib/libgdbm.so.1.73 (0x8292000)
        -lncurses.3 => /usr/pkg/lib/libncurses.so.3.4 (0x8298000)
        -lkvm.5 => /usr/lib/libkvm.so.5.0 (0x82d0000)
        -lm.0 => /usr/lib/libm.so.0.1 (0x82d8000)
        -lc.12 => /usr/lib/libc.so.12.20 (0x82f0000)

This means xemacs needs such a switch also for gdbm and ncurses.

Before I add USE_GDBM and USE_NCURSES too, are there any suggestions
on how to solve this issue in a more clean way? E.g. currently a
binary package might uses whatever its configure script finds on
the machine the bin package builder might have installed.

Greets
-- 
   Name  : Thorsten Frueauf            Milano@irc cri@onaliM       //
   E-Mail: s_frueau@ira.uka.de oder ukfy@rz.uni-karlsruhe.de     \X/