From owner-ports-jp@jp.freebsd.org  Thu Oct  1 10:15:29 1998
Received: by jaz.jp.freebsd.org (8.9.1+3.1W/8.7.3) id KAA18022;
	Thu, 1 Oct 1998 10:15:29 +0900 (JST)
	(envelope-from owner-ports-jp@jp.FreeBSD.org)
Received: from diana.infonets.hiroshima-u.ac.jp (diana.infonets.hiroshima-u.ac.jp [133.41.33.53])
	by jaz.jp.freebsd.org (8.9.1+3.1W/8.7.3) with ESMTP id KAA18003
	for <ports-jp@jp.freebsd.org>; Thu, 1 Oct 1998 10:15:22 +0900 (JST)
	(envelope-from taoka@infonets.hiroshima-u.ac.jp)
Received: from cal.infonets.hiroshima-u.ac.jp (cal.infonets.hiroshima-u.ac.jp [133.41.33.61])
	by diana.infonets.hiroshima-u.ac.jp (8.8.8/3.6W) with ESMTP id KAA16637
	for <ports-jp@jp.freebsd.org>; Thu, 1 Oct 1998 10:15:21 +0900 (JST)
Received: from localhost (localhost.infonets.hiroshima-u.ac.jp [127.0.0.1]) by cal.infonets.hiroshima-u.ac.jp (8.8.8/3.6W) with ESMTP
	id KAA13878 for <ports-jp@jp.freebsd.org>; Thu, 1 Oct 1998 10:15:21 +0900 (JST)
To: ports-jp@jp.freebsd.org
From: TAOKA Satoshi <taoka@infonets.hiroshima-u.ac.jp>
In-Reply-To: Your message of "Thu, 01 Oct 1998 10:03:51 +0900"
	<19981001100351Y.taoka@infonets.hiroshima-u.ac.jp>
References: <19981001100351Y.taoka@infonets.hiroshima-u.ac.jp>
X-Mailer: Mew version 1.93 on XEmacs 20.4 (Emerald)
X-Prom-Mew: Prom-Mew 1.93 (procmail reader for Mew)
X-URL: http://www.infonets.hiroshima-u.ac.jp/~taoka/
Mime-Version: 1.0
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Message-Id: <19981001101520V.taoka@infonets.hiroshima-u.ac.jp>
Date: Thu, 01 Oct 1998 10:15:20 +0900
X-Dispatcher: imput version 980905(IM100)
Lines: 31
Reply-To: ports-jp@jp.freebsd.org
Precedence: bulk
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+980914
X-Sequence: ports-jp 4556
Subject: [ports-jp 4556] libtool (Re: VFlib is BROKEN_ELF port ?)
Errors-To: owner-ports-jp@jp.freebsd.org
Sender: owner-ports-jp@jp.freebsd.org


> 
> % /usr/local/bin/libtool gcc -o libVFlib2.la VFlib.lo VFenc.lo VFEtable.lo VFcap.lo  fn2ent.lo fman.lo VF_Sony.lo VF_Zeit.lo VF_Jg.lo VF_TT.lo VF_Bdf.lo VF_Hbf.lo hbf.lo  VF_Comp.lo VF_BitOp.lo VF_FNTWV.lo VF_Comp2.lo VF_Ftype.lo  VF_Null.lo -version-info 23:1:0 -rpath /usr/local/lib -lttf
> [: syntax error
> 
> $B$,5$$K$J$j$^$9$,!#(B

$BJ,$+$j$^$7$?!#(Blibtool$B$,(B

        if [ $PORTOBJFORMAT = elf ]; then

$B$H$J$C$F$^$9!#$3$l$@$H(Blibtool$B$O(Bports$B$+$i$7$+;H$($^$;$s$M!#(Bports$B$N(B
libtool$B$NJQ99$,I,MW$G$9$M!#(B

$B$A$J$_$K!"(B

% echo $PORTOBJFORMAT 
elf
% /usr/local/bin/libtool gcc -o libVFlib2.la VFlib.lo VFenc.lo VFEtable.lo VFcap.lo  fn2ent.lo fman.lo VF_Sony.lo VF_Zeit.lo VF_Jg.lo VF_TT.lo VF_Bdf.lo VF_Hbf.lo hbf.lo  VF_Comp.lo VF_BitOp.lo VF_FNTWV.lo VF_Comp2.lo VF_Ftype.lo  VF_Null.lo -version-info 23:1:0 -rpath /usr/local/lib -lttf
rm -f .libs/libVFlib2.la .libs/libVFlib2.* .libs/libVFlib2.*
gcc -shared -Wl,-soname -Wl,libVFlib2.so.23 -o .libs/libVFlib2.so.23 VFlib.lo VFenc.lo VFEtable.lo VFcap.lo fn2ent.lo fman.lo VF_Sony.lo VF_Zeit.lo VF_Jg.lo VF_TT.lo VF_Bdf.lo VF_Hbf.lo hbf.lo VF_Comp.lo VF_BitOp.lo VF_FNTWV.lo VF_Comp2.lo VF_Ftype.lo VF_Null.lo
(cd .libs && ln -s libVFlib2.so.23 libVFlib2.so)
ar cru .libs/libVFlib2.a VFlib.o VFenc.o VFEtable.o VFcap.o fn2ent.o fman.o VF_Sony.o VF_Zeit.o VF_Jg.o VF_TT.o VF_Bdf.o VF_Hbf.o hbf.o VF_Comp.o VF_BitOp.o VF_FNTWV.o VF_Comp2.o VF_Ftype.o VF_Null.o
ranlib .libs/libVFlib2.a
creating libVFlib2.la
(cd .libs && ln -s ../libVFlib2.la libVFlib2.la)
% /usr/local/bin/libtool cc  -o bdfindex bdfindex.lo libVFlib2.la -lm
cc -o .libs/bdfindex bdfindex.o -Wl,--rpath -Wl,/usr/local/lib .libs/libVFlib2.so -lttf -lm
/usr/libexec/elf/ld: cannot open -lttf: No such file or directory

$B$H$J$j!"$@$a$G$9!#(B
