aboutsummaryrefslogtreecommitdiffstats
path: root/java/jikes
diff options
context:
space:
mode:
authorarchie <archie@FreeBSD.org>2002-08-06 03:14:31 +0800
committerarchie <archie@FreeBSD.org>2002-08-06 03:14:31 +0800
commitfc9d54b19e881d3e35229e84eef1aa1e649e64f3 (patch)
treed56e8882cf1f4ef4503f14ec44b8b5cfbe2a51c8 /java/jikes
parent18972331f26349927192b300a86d0723caa4e32f (diff)
downloadfreebsd-ports-gnome-fc9d54b19e881d3e35229e84eef1aa1e649e64f3.tar.gz
freebsd-ports-gnome-fc9d54b19e881d3e35229e84eef1aa1e649e64f3.tar.zst
freebsd-ports-gnome-fc9d54b19e881d3e35229e84eef1aa1e649e64f3.zip
Add support for the -encoding option by utilizing the ICU library.
PR: ports/38396
Diffstat (limited to 'java/jikes')
-rw-r--r--java/jikes/Makefile7
-rw-r--r--java/jikes/files/patch-aa8
-rw-r--r--java/jikes/files/patch-ab28
-rw-r--r--java/jikes/files/patch-ac11
4 files changed, 50 insertions, 4 deletions
diff --git a/java/jikes/Makefile b/java/jikes/Makefile
index 9da1a2e8bc1a..7ffc63e89a0e 100644
--- a/java/jikes/Makefile
+++ b/java/jikes/Makefile
@@ -7,11 +7,18 @@
PORTNAME= jikes
PORTVERSION= 1.16
+PORTREVISION= 1
CATEGORIES= java
MASTER_SITES= http://oss.software.ibm.com/pub/jikes/
MAINTAINER= archie@freebsd.org
+LIB_DEPENDS= icuuc.a:${PORTSDIR}/devel/icu
+
+CONFIGURE_ARGS= --prefix=${PREFIX} \
+ CPPFLAGS="-D_THREAD_SAFE -I${PREFIX}/include" \
+ LDFLAGS="-pthread -L${PREFIX}/lib"
+
MAN1= jikes.1
GNU_CONFIGURE= yes
diff --git a/java/jikes/files/patch-aa b/java/jikes/files/patch-aa
index 78ec8a8189d9..620d436c157a 100644
--- a/java/jikes/files/patch-aa
+++ b/java/jikes/files/patch-aa
@@ -1,11 +1,11 @@
---- doc/Makefile.in.orig Mon Jul 31 15:54:07 2000
-+++ doc/Makefile.in Mon Jul 31 15:54:21 2000
+--- doc/Makefile.in Tue Jul 9 23:16:00 2002
++++ doc/Makefile.in Mon Aug 5 11:02:39 2002
@@ -80,7 +80,7 @@
-
+ install_sh = @install_sh@
man_MANS = jikes.1
-docdir = $(prefix)/doc/${PACKAGE}-${VERSION}
+docdir = $(prefix)/share/doc/${PACKAGE}-${VERSION}
doc_DATA = \
- contrib.html \
+ license.htm
diff --git a/java/jikes/files/patch-ab b/java/jikes/files/patch-ab
new file mode 100644
index 000000000000..5db7f8d63ad1
--- /dev/null
+++ b/java/jikes/files/patch-ab
@@ -0,0 +1,28 @@
+--- configure Tue Jul 9 23:16:00 2002
++++ configure Mon Aug 5 11:03:52 2002
+@@ -5366,13 +5366,13 @@
+
+
+
+-echo "$as_me:$LINENO: checking for u_getVersion in -licu-uc" >&5
+-echo $ECHO_N "checking for u_getVersion in -licu-uc... $ECHO_C" >&6
++echo "$as_me:$LINENO: checking for u_getVersion in -licuuc" >&5
++echo $ECHO_N "checking for u_getVersion in -licuuc... $ECHO_C" >&6
+ if test "${ac_cv_lib_icu_uc_u_getVersion+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+-LIBS="-licu-uc $LIBS"
++LIBS="-licuuc $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+ #include "confdefs.h"
+@@ -5426,7 +5426,7 @@
+ #define HAVE_LIBICU_UC 1
+ _ACEOF
+
+- LIBS="-licu-uc $LIBS"
++ LIBS="-licuuc $LIBS"
+
+ fi
+
diff --git a/java/jikes/files/patch-ac b/java/jikes/files/patch-ac
new file mode 100644
index 000000000000..9f07cac914c7
--- /dev/null
+++ b/java/jikes/files/patch-ac
@@ -0,0 +1,11 @@
+--- configure.in Tue Jul 9 23:16:00 2002
++++ configure.in Mon Aug 5 11:03:39 2002
+@@ -113,7 +113,7 @@
+ AC_CHECK_ICONV()
+
+ dnl Check if "IBM Classes for UNICODE library" is present
+-AC_CHECK_LIB(icu-uc, u_getVersion)
++AC_CHECK_LIB(icuuc, u_getVersion)
+
+ dnl Check for cygwin path conversion functions
+ AC_CHECK_FUNCS(cygwin_win32_to_posix_path_list)