Date: Tue, 31 Oct 2000 21:16:38 +0600 (NS) From: Max Khon <fjoe@iclub.nsu.ru> To: sobomax@freebsd.org Cc: java@freebsd.org Subject: /usr/ports/java/tya Message-ID: <Pine.BSF.4.21.0010312113450.40042-300000@iclub.nsu.ru>
index | next in thread | raw e-mail
[-- Attachment #1 --] hi, there! with attached patches it is possible to build /usr/ports/java/tya with jdk12-beta (you will also need to change JAVADIR= in Makefile) I have verified that it is still possible to build tya with jdk1.1.8 with this patches. tya works for me with jdk12-beta /fjoe [-- Attachment #2 --] --- Makefile.in.orig Mon Dec 20 22:57:58 1999 +++ Makefile.in Tue Oct 31 20:39:37 2000 @@ -12,12 +12,12 @@ #TARGETFLAGS =-DDEBUG # GCC specific options: -COPTFLAGS=-O3 +#COPTFLAGS=-O3 #COPTFLAGS=-O6 -v # CPU specific options: -POPTFLAGS=-m486 -malign-loops=4 -malign-functions=4 -malign-jumps=4 +POPTFLAGS=-malign-loops=4 -malign-functions=4 -malign-jumps=4 #_____________________________________________________________ @@ -25,14 +25,15 @@ JAVAINCLDIR=-I$(JAVABINDIR)/../include -I$(JAVABINDIR)/../include/genunix \ -I$(JAVABINDIR)/../include/freebsd \ -I$(JAVABINDIR)/../include/linux \ - -I$(JAVABINDIR)/../include-old -I$(JAVABINDIR)/../include-old/linux + -I$(JAVABINDIR)/../include-old -I$(JAVABINDIR)/../include-old/linux \ + -I$(JAVABINDIR)/../include-old/freebsd TARGET=libtya.so CSOURCES=tya.c tyarechelp.c tyarecode.c tyautil.c tyaruntime.c tyaexc.c # -CFLAGS = -Wall -pipe -shared $(COPTFLAGS) $(POPTFLAGS) $(TARGETFLAGS) +CFLAGS += -Wall -shared $(COPTFLAGS) $(POPTFLAGS) $(TARGETFLAGS) all: $(TARGET) [-- Attachment #3 --] --- configure.orig Tue Oct 31 20:40:59 2000 +++ configure Tue Oct 31 20:50:53 2000 @@ -862,17 +862,11 @@ jversion=`$javabin -green -Djava.compiler=NONE -version 2>&1` os=`uname -s 2>/dev/null` if test "$os" = "FreeBSD" ; then - echo "$ac_t""recognized: FreeBSD Java 1.1.x port" 1>&6 - cat >> confdefs.h <<\EOF -#define JDK117 1 -EOF - cat >> confdefs.h <<\EOF #define FREEBSD 1 EOF +fi - jopt_libdir=../lib/i386/green_threads -else case "$jversion" in java*1.1.6*) echo "$ac_t""recognized: Byrne 1.1.6-vX" 1>&6 @@ -891,12 +885,16 @@ jopt_libdir=../lib/i586/green_threads ;; java*1.1.8*) - echo "$ac_t""recognized: Blackdown 1.1.8-v1" 1>&6 cat >> confdefs.h <<\EOF #define JDK117 1 EOF - - jopt_libdir=../lib/i586/green_threads + if test "$os" = "FreeBSD" ; then + echo "$ac_t""recognized: FreeBSD 1.1.8 port" 1>&6 + jopt_libdir=../lib/i386/green_threads + else + echo "$ac_t""recognized: Blackdown 1.1.8-v1" 1>&6 + jopt_libdir=../lib/i586/green_threads + fi ;; java*1.2*) echo "$ac_t""recognized: JDK1.2-vX" 1>&6 @@ -925,7 +923,6 @@ ;; esac -fi echo $ac_n "checking for name of sigcontext struct""... $ac_c" 1>&6 echo "configure:932: checking for name of sigcontext struct" >&5home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0010312113450.40042-300000>
