java/58618: jdk1.3 fails to build if LOCALBASE is not /usr/local

harti at harti at
Tue Oct 28 05:30:20 PST 2003

>Number:         58618
>Category:       java
>Synopsis:       jdk1.3 fails to build if LOCALBASE is not /usr/local
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-java
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 28 05:30:17 PST 2003
>Originator:     Hartmut Brandt
>Release:        FreeBSD 5.1-CURRENT i386
FhI Fokus
System: FreeBSD 5.1-CURRENT FreeBSD 5.1-CURRENT #5: Fri Sep 19 15:25:35 CEST 2003 hbb at i386


When LOCALBASE is set to something else then the default /usr/local the
build fails to find libintl.h in ${LOCALBASE}/include.


Set LOCALBASE to /packages/ports and make the port.


The problem is the following line in j2sdk1.3.1/ext/plugin/build/solaris/GNUmakefile:

INTL_DIR ?= /usr/local

This default is never overwritten. The following patch to the port's makefile
overwrites this definition:

Index: Makefile
RCS file: /export/cvs/freebsd/ports/java/jdk13/Makefile,v
retrieving revision 1.63
diff -u -r1.63 Makefile
--- Makefile	16 Oct 2003 23:06:29 -0000	1.63
+++ Makefile	28 Oct 2003 13:20:51 -0000
@@ -56,6 +56,7 @@
 .if !defined(WITHOUT_PLUGIN)
 MAKE_ENV +=	LIBG_HDRS="${LOCALBASE}/include/glib12" \



More information about the freebsd-java mailing list