From owner-ports-jp@jp.freebsd.org  Fri Oct  9 18:13:03 1998
Received: by jaz.jp.freebsd.org (8.9.1+3.1W/8.7.3) id SAA06511;
	Fri, 9 Oct 1998 18:13:03 +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 SAA06505
	for <ports-jp@jp.freebsd.org>; Fri, 9 Oct 1998 18:12:59 +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 SAA22489
	for <ports-jp@jp.freebsd.org>; Fri, 9 Oct 1998 18:12:59 +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 SAA27073 for <ports-jp@jp.freebsd.org>; Fri, 9 Oct 1998 18:12:58 +0900 (JST)
To: ports-jp@jp.freebsd.org
From: TAOKA Satoshi <taoka@infonets.hiroshima-u.ac.jp>
In-Reply-To: Your message of "Fri, 09 Oct 1998 15:58:26 +0900"
	<199810090658.PAA05524@lavender.yy.cs.keio.ac.jp>
References: <199810090658.PAA05524@lavender.yy.cs.keio.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: Multipart/Mixed;
	boundary="--Next_Part(Fri_Oct__9_18:12:51_1998_577)--"
Content-Transfer-Encoding: 7bit
Message-Id: <19981009181257C.taoka@infonets.hiroshima-u.ac.jp>
Date: Fri, 09 Oct 1998 18:12:57 +0900
X-Dispatcher: imput version 980905(IM100)
Lines: 58
Reply-To: ports-jp@jp.freebsd.org
Precedence: bulk
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+980914
X-Sequence: ports-jp 4764
Subject: [ports-jp 4764] Re: ja-iv for ELF and a.out
Errors-To: owner-ports-jp@jp.freebsd.org
Sender: owner-ports-jp@jp.freebsd.org

----Next_Part(Fri_Oct__9_18:12:51_1998_577)--
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit


$B$3$l$,I,MW$G$O$J$$$G$7$g$&$+!)(B

$B$?$@$7!"(Bpkg_add$B$G$O;n$7$F$^$;$s!#$*4j$$$7$^$9!#(B

----Next_Part(Fri_Oct__9_18:12:51_1998_577)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Description: diff.iv
Content-Disposition: attachment; filename=diff.iv

diff -ru iv.org/Makefile iv/Makefile
--- iv.org/Makefile	Fri Oct  9 18:10:23 1998
+++ iv/Makefile	Fri Oct  9 17:56:33 1998
@@ -63,8 +63,13 @@
 post-install:
 	@${INSTALL_DATA} ${WRKDIR}/idraw-3_1j.ad ${PREFIX}/interviews/lib/all/app-defaults/idraw
 # need these in ${PREFIX}/lib so that ldconfig can find them
-	@${LN} -fs ../interviews/lib/libIV.so.3.1 ${PREFIX}/lib
-	@${LN} -fs ../interviews/lib/libUnidraw.so.3.1 ${PREFIX}/lib
-	${LDCONFIG} -m ${PREFIX}/lib
+	@if [ "X${PORTOBJFORMAT}" = X"elf" ]; then \
+		${LN} -fs ../interviews/lib/libIV.so.3 ${PREFIX}/lib; \
+		${LN} -fs ../interviews/lib/libUnidraw.so.3 ${PREFIX}/lib; \
+	else \
+		${LN} -fs ../interviews/lib/libIV.so.3.1 ${PREFIX}/lib; \
+		${LN} -fs ../interviews/lib/libUnidraw.so.3.1 ${PREFIX}/lib; \
+	fi
+	${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
 
 .include <bsd.port.mk>
diff -ru iv.org/pkg/PLIST iv/pkg/PLIST
--- iv.org/pkg/PLIST	Sun Sep  6 08:34:44 1998
+++ iv/pkg/PLIST	Fri Oct  9 18:04:25 1998
@@ -1,7 +1,9 @@
-@exec ln -fs ../interviews/lib/libIV.so.3.1 %D/lib
-@exec ln -fs ../interviews/lib/libUnidraw.so.3.1 %D/lib
+@exec if [ X%%PORTOBJFORMAT%% = Xelf ]; then ln -fs ../interviews/lib/libIV.so.3 %D/lib; else ln -fs ../interviews/lib/libIV.so.3.1 %D/lib; fi
+@exec if [ X%%PORTOBJFORMAT%% = Xelf ]; then ln -fs ../interviews/lib/libUnidraw.so.3 %D/lib; else ln -fs ../interviews/lib/libUnidraw.so.3.1 %D/lib; fi
 @unexec rm %D/lib/libIV.so.3.1
 @unexec rm %D/lib/libUnidraw.so.3.1
+@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
+@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
 interviews/config/InterViews/template
 interviews/config/InterViews/TIFF.def
 interviews/config/InterViews/arch.def
@@ -524,5 +526,3 @@
 interviews/bin/ivmkmf
 interviews/bin/remind
 interviews/man/refman.PS
-@exec ldconfig -m %D/lib
-@unexec /sbin/ldconfig -R

----Next_Part(Fri_Oct__9_18:12:51_1998_577)----
