Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 May 2002 21:51:48 +0800 (CST)
From:      Horance Chou <horance@freedom.ie.cycu.edu.tw>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/38365: devel/swarm update for Java support
Message-ID:  <200205201351.g4KDpmf62256@bsdbox.adsldns.org>

next in thread | raw e-mail | index | archive | help

>Number:         38365
>Category:       ports
>Synopsis:       devel/swarm update for Java support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 20 22:50:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Horance Chou
>Release:        FreeBSD 4.5-RELEASE i386
>Organization:
>Environment:
System: FreeBSD bsdbox.adsldns.org 4.5-RELEASE FreeBSD 4.5-RELEASE #0: Mon Jan 28 14:31:56 GMT 2002 murray@builder.freebsdmall.com:/usr/src/sys/compile/GENERIC i386


	
>Description:
	devel/swarm update for Java support
>How-To-Repeat:
	
>Fix:

	please apply this patch to devel/swarm, thanks!
	

--- swarm-update-diff begins here ---
diff -ruN swarm.orig/Makefile swarm/Makefile
--- swarm.orig/Makefile	Mon May 20 20:56:25 2002
+++ swarm/Makefile	Mon May 20 20:58:48 2002
@@ -12,6 +12,8 @@
 
 MAINTAINER=	horance@freedom.ie.cycu.edu.tw
 
+BUILD_DEPENDS=	${LOCALBASE}/jdk1.3.1/bin/java:${PORTSDIR}/java/jdk13 \
+		${LOCALBASE}/bin/emacs:${PORTSDIR}/editors/emacs21
 LIB_DEPENDS=	png.5:${PORTSDIR}/graphics/png \
 		BLT24.2:${PORTSDIR}/x11-toolkits/blt
 
@@ -24,6 +26,7 @@
 		--with-tkincludedir=${PREFIX}/include/tk8.3 \
 		--with-tclscriptdir=${PREFIX}/lib/tcl8.3 \
 		--with-tkscriptdir=${PREFIX}/lib/tk8.3 \
+		--with-jdkdir=${PREFIX}/jdk1.3.1 \
 		--enable-subdirs
 
 .include <bsd.port.mk>
diff -ruN swarm.orig/files/patch-ae swarm/files/patch-ae
--- swarm.orig/files/patch-ae	Thu Jan  1 08:00:00 1970
+++ swarm/files/patch-ae	Mon May 20 20:58:48 2002
@@ -0,0 +1,11 @@
+--- java/c/Makefile.in.orig	Sun Feb 13 01:50:41 2000
++++ java/c/Makefile.in	Mon May 20 18:27:20 2002
+@@ -71,7 +71,7 @@
+ 	$(LIBTOOL) --mode=link $(OBJC) $(CFLAGS) -o $@ -version-info $(STUBSCURRENT):$(STUBSREVISION):$(STUBSAGE) -rpath $(libdir) $^
+ 
+ $(_LIBJAVASWARM_LA): $(_LIBJAVASWARMSTUBS_LA) $(libjavaswarm_la_OBJECTS)
+-	$(LIBTOOL) --mode=link $(OBJC) $(CFLAGS) -o $@ -version-info $(CURRENT):$(REVISION):$(AGE) -L$(abs_top_builddir)/libobjc -rpath $(libdir) $(libjavaswarm_la_OBJECTS) $(_LIBJAVASWARMSTUBS_LA) -L$(abs_top_builddir)/src $(SWARMLIBS) -lobjc
++	$(LIBTOOL) --mode=link $(OBJC) $(CFLAGS) -o $@ -version-info $(CURRENT):$(REVISION):$(AGE) -rpath $(libdir) $(javaswarmstubs_OBJECTS) $(javaswarm_OBJECTS) $(foreach module,$(SWARMMODULES),$(top_builddir)/src/$(module)/*.lo) $(filter-out $(top_builddir)/libobjc/nil_method.lo,$(wildcard $(top_builddir)/libobjc/*.lo)) $(SUPPORTLDFLAGS) $(SYSLIBS)
+ 
+ ENTRYCMD=-e @JAVASWARM_DLL_ENTRY@
+ 
diff -ruN swarm.orig/pkg-message swarm/pkg-message
--- swarm.orig/pkg-message	Mon May 20 20:56:25 2002
+++ swarm/pkg-message	Mon May 20 21:44:26 2002
@@ -7,7 +7,5 @@
   in bash:
 	export SWARMHOME=/usr/local
 
-Swarm samples can be found at ftp://ftp.swarm.org/pub/swarm/src/apps/objc/swarmapps-2.1.1.tar.gz
-
- *Note* java support is not enabled in this port.
+Swarm samples can be found at ftp://ftp.swarm.org/pub/swarm/src/apps/objc/swarmapps-2.1.1.tar.gz for Objective-C and ftp://ftp.org/pub/swarm/src/apps/java/jheatbugs-2.1.tar.gz for Java.
 
diff -ruN swarm.orig/pkg-plist swarm/pkg-plist
--- swarm.orig/pkg-plist	Mon May 20 20:56:25 2002
+++ swarm/pkg-plist	Mon May 20 20:58:48 2002
@@ -1,3 +1,5 @@
+bin/javaswarm
+bin/javacswarm
 bin/libtool-swarm
 bin/m2h
 bin/make-h2x
@@ -236,6 +238,12 @@
 lib/swarm/libdefobj.a
 lib/swarm/libdefobj.so
 lib/swarm/libdefobj.so.4
+lib/swarm/libjavaswarm.a
+lib/swarm/libjavaswarm.so
+lib/swarm/libjavaswarm.so.1
+lib/swarm/libjavaswarmstubs.a
+lib/swarm/libjavaswarmstubs.so
+lib/swarm/libjavaswarmstubs.so.0
 lib/swarm/libmisc.a
 lib/swarm/libmisc.so
 lib/swarm/libmisc.so.2
@@ -267,6 +275,7 @@
 lib/swarm/libtkobjc.a
 lib/swarm/libtkobjc.so
 lib/swarm/libtkobjc.so.5
+share/swarm/swarm.jar
 @dirrm etc/swarm
 @dirrm include/swarm/activity
 @dirrm include/swarm/analysis
@@ -283,5 +292,4 @@
 @dirrm include/swarm/tkobjc
 @dirrm include/swarm
 @dirrm lib/swarm
-@exec mkdir %D/share/swarm
 @dirrm share/swarm
--- swarm-update-diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205201351.g4KDpmf62256>