From owner-ports-jp@jp.freebsd.org  Fri Oct  9 15:58:35 1998
Received: (from daemon@localhost)
	by jaz.jp.freebsd.org (8.9.1+3.1W/8.7.3) id PAA24947;
	Fri, 9 Oct 1998 15:58:35 +0900 (JST)
	(envelope-from owner-ports-jp@jp.FreeBSD.org)
Received: from titanium.yy.ics.keio.ac.jp (titanium.yy.ics.keio.ac.jp [131.113.47.73])
	by jaz.jp.freebsd.org (8.9.1+3.1W/8.7.3) with ESMTP id PAA24941
	for <ports-jp@jp.freebsd.org>; Fri, 9 Oct 1998 15:58:33 +0900 (JST)
	(envelope-from sanpei@sanpei.org)
Received: from lavender.yy.cs.keio.ac.jp (lavender.rad.cc.keio.ac.jp [131.113.16.115])
	by titanium.yy.ics.keio.ac.jp (8.8.8+3.0Wbeta13/3.7W) with ESMTP id PAA13394
	for <ports-jp@jp.freebsd.org>; Fri, 9 Oct 1998 15:58:28 +0900 (JST)
Received: (from sanpei@localhost)
	by lavender.yy.cs.keio.ac.jp (8.8.8/3.6W) id PAA05524;
	Fri, 9 Oct 1998 15:58:27 +0900 (JST)
Message-Id: <199810090658.PAA05524@lavender.yy.cs.keio.ac.jp>
To: ports-jp@jp.freebsd.org
X-Mailer: Mew version 1.70 on Emacs 19.28.1 / Mule 2.3
Mime-Version: 1.0
Content-Type: Multipart/Mixed;
	boundary="--Next_Part(Fri_Oct__9_15:58:26_1998)--"
Content-Transfer-Encoding: 7bit
Date: Fri, 09 Oct 1998 15:58:26 +0900
From: MIHIRA "Sanpei" Yoshiro <sanpei@sanpei.org>
Reply-To: ports-jp@jp.freebsd.org
Precedence: bulk
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+980914
X-Sequence: ports-jp 4760
Subject: [ports-jp 4760] 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_15:58:26_1998)--
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit

ja-iv $B$r(B ELF, aout $B2=$7$^$7$?(B. 

  $B<j85$G$OF0$$$F$*$j$^$9(B. $B:#HU$"$?$j$K(B send-pr $B$7$^$9$,(B, $B$^$9$O$3$A(B
$B$i$K(Bpatch$B$r5/$-$^$9(B.

sanpei

----Next_Part(Fri_Oct__9_15:58:26_1998)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

diff -uNr iv.org/Makefile iv/Makefile
--- iv.org/Makefile	Sat Sep  5 19:27:38 1998
+++ iv/Makefile	Wed Oct  7 16:53:06 1998
@@ -13,7 +13,7 @@
 		ftp://ports.jp.freebsd.org/pub/FreeBSD-jp/ports-jp/LOCAL_PORTS/
 DISTFILES=	3.1.tar.Z iv3_1j_gamma.tar.gz
 
-MAINTAINER=	sanpei@yy.cs.keio.ac.jp
+MAINTAINER=	sanpei@sanpei.org
 
 DIST_SUBDIR=	iv
 WRKSRC=		${WRKDIR}/iv
diff -uNr iv.org/patches/patch-aa iv/patches/patch-aa
--- iv.org/patches/patch-aa	Sun Mar  2 23:55:59 1997
+++ iv/patches/patch-aa	Wed Oct  7 13:07:03 1998
@@ -165,44 +165,6 @@
   #undef XLibDir
 ! #define XLibDir /usr/X11R6/lib
 ! 
-*** src/config/InterViews/rules.def	Thu Sep 24 15:06:33 1992
---- /usr/oports/x11/iv/src/config/InterViews/rules.def	Thu Jun 16 18:34:12 1994
-***************
-*** 399,404 ****
---- 399,421 ----
-  /*
-   * Make a shared library.
-   */
-+ #if defined(FreeBSDArchitecture)
-+ #define NormalSunOSSharedLibraryTarget(libname,rev,depobjs,ldobjs)	@@\
-+ AOUT = Concat(lib,libname.so.rev)					@@\
-+ SHARED_CCFLAGS = SharedCCFlags						@@\
-+ 									@@\
-+ AllTarget(Concat(lib,libname.so.rev))					@@\
-+ 									@@\
-+ Concat(lib,libname.so.rev): depobjs					@@\
-+ 	@echo "building $@"						@@\
-+ 	$(RM) $@~							@@\
-+ 	$(LD) -o $@~ -Bshareable ldobjs					@@\
-+ 	$(RM) $@							@@\
-+ 	$(MV) $@~ $@							@@\
-+ 									@@\
-+ clean::									@@\
-+ 	$(RM) Concat(lib,libname.so.rev)
-+ #else
-  #ifndef NormalSunOSSharedLibraryTarget
-  #if OSMajorVersion < 5
-  #define NormalSunOSSharedLibraryTarget(libname,rev,depobjs,ldobjs)	@@\
-***************
-*** 434,439 ****
---- 451,457 ----
-  									@@\
-  clean::									@@\
-  	$(RM) Concat(lib,libname.so.rev)
-+ #endif
-  #endif
-  #endif
-  
 *** src/lib/IV-X11/xwindow.c	Mon Nov 23 12:26:43 1992
 --- /usr/oports/x11/iv/src/lib/IV-X11/xwindow.c	Tue Apr 26 17:03:44 1994
 ***************
diff -uNr iv.org/patches/patch-ae iv/patches/patch-ae
--- iv.org/patches/patch-ae	Sun Mar  2 23:55:59 1997
+++ iv/patches/patch-ae	Wed Oct  7 16:42:15 1998
@@ -1,16 +1,27 @@
-*** src/lib/IV/Imakefile.orig	Tue Jan 16 19:11:42 1996
---- src/lib/IV/Imakefile	Wed Jan 17 10:09:20 1996
-***************
-*** 18,28 ****
-      $(DISPATCH)/iohandler.$(CCSUFFIX)
-  #endif
-  
-- #ifdef SharedCCFlags
-- #undef SharedCCFlags
-- #define SharedCCFlags -PIC
-- #endif
-- 
-  INTERVIEWS = $(SRC)/../InterViews
-  IV_2_6	   = $(SRC)/../IV-2_6
-  IV_X11	   = $(SRC)/../IV-X11
---- 18,23 ----
+--- src/lib/IV/Imakefile.orig	Wed Oct  7 13:46:44 1998
++++ src/lib/IV/Imakefile	Wed Oct  7 15:57:25 1998
+@@ -18,11 +18,6 @@
+     $(DISPATCH)/iohandler.$(CCSUFFIX)
+ #endif
+ 
+-#ifdef SharedCCFlags
+-#undef SharedCCFlags
+-#define SharedCCFlags -PIC
+-#endif
+-
+ INTERVIEWS = $(SRC)/../InterViews
+ IV_2_6	   = $(SRC)/../IV-2_6
+ IV_X11	   = $(SRC)/../IV-X11
+@@ -37,7 +32,11 @@
+ 	$(OS)$(SLASH)*.$(CCSUFFIX)
+ 	/* TIFF not included because it can't use the same flags */
+ LIB	   = IV
+-VERSION	   = 3.1
++.if ${PORTOBJFORMAT} == "elf"
++VERSION	   = 3
++.else
++VERSION    = 3.1
++.endif
+ 
+ KIT_CCFLAGS = KitFlags
+ LIBPATHS   = -DIV_LIBALL='"$(ABSLIBALLDIR)"' -DX_LIBDIR='"$(XLIBDIR)"'
diff -uNr iv.org/patches/patch-ai iv/patches/patch-ai
--- iv.org/patches/patch-ai	Thu Jan  1 09:00:00 1970
+++ iv/patches/patch-ai	Wed Oct  7 16:46:43 1998
@@ -0,0 +1,39 @@
+--- src/config/InterViews/rules.def.orig	Fri Sep 25 07:06:33 1992
++++ src/config/InterViews/rules.def	Wed Oct  7 16:25:41 1998
+@@ -399,6 +399,28 @@
+ /*
+  * Make a shared library.
+  */
++#if defined(FreeBSDArchitecture)
++#define NormalSunOSSharedLibraryTarget(libname,rev,depobjs,ldobjs)	@@\
++AOUT = Concat(lib,libname.so.rev)					@@\
++SHARED_CCFLAGS = SharedCCFlags						@@\
++									@@\
++AllTarget(Concat(lib,libname.so.rev))					@@\
++									@@\
++Concat(lib,libname.so.rev): depobjs					@@\
++	@echo "building $@"						@@\
++	$(RM) $@~							@@\
++.if $(PORTOBJFORMAT) == "elf"						@@\
++	$(CC) -shared -o $@~ ldobjs					@@\
++.else									@@\
++	$(LD) -o $@~ -Bshareable ldobjs					@@\
++.endif									@@\
++	$(RM) $@							@@\
++	$(MV) $@~ $@							@@\
++	$(LN) $@ Concat(lib,libname.so)					@@\
++									@@\
++clean::									@@\
++	$(RM) Concat(lib,libname.so.rev)
++#else
+ #ifndef NormalSunOSSharedLibraryTarget
+ #if OSMajorVersion < 5
+ #define NormalSunOSSharedLibraryTarget(libname,rev,depobjs,ldobjs)	@@\
+@@ -434,6 +456,7 @@
+ 									@@\
+ clean::									@@\
+ 	$(RM) Concat(lib,libname.so.rev)
++#endif
+ #endif
+ #endif
+ 
diff -uNr iv.org/patches/patch-aj iv/patches/patch-aj
--- iv.org/patches/patch-aj	Thu Jan  1 09:00:00 1970
+++ iv/patches/patch-aj	Wed Oct  7 16:42:05 1998
@@ -0,0 +1,14 @@
+--- src/lib/Unidraw/Imakefile.orig	Sat Oct 31 08:32:58 1992
++++ src/lib/Unidraw/Imakefile	Wed Oct  7 15:55:02 1998
+@@ -5,7 +5,11 @@
+ #ifdef InObjectCodeDir
+ 
+ LIB = Unidraw
++.if ${PORTOBJFORMAT} == "elf"
++VERSION = 3
++.else
+ VERSION = 3.1
++.endif
+ 
+ MakeLibrary($(LIB),$(VERSION))
+ 

----Next_Part(Fri_Oct__9_15:58:26_1998)----
