java/58618: jdk1.3 fails to build if LOCALBASE is not /usr/local
harti at FreeBSD.org
harti at FreeBSD.org
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
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Oct 28 05:30:17 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Hartmut Brandt
>Release: FreeBSD 5.1-CURRENT i386
>Organization:
FhI Fokus
>Environment:
System: FreeBSD beagle.fokus.fraunhofer.de 5.1-CURRENT FreeBSD 5.1-CURRENT #5: Fri Sep 19 15:25:35 CEST 2003 hbb at beagle.fokus.fraunhofer.de:/opt/obj/usr/src/sys/BEAGLE i386
>Description:
When LOCALBASE is set to something else then the default /usr/local the
build fails to find libintl.h in ${LOCALBASE}/include.
>How-To-Repeat:
Set LOCALBASE to /packages/ports and make the port.
>Fix:
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 @@
SYS_CFLAGS="${CFLAGS}" \
CLASSPATH="" \
LD_LIBRARY_PATH="" \
+ INTL_DIR="${LOCALBASE}" \
JAVA_COMPILER=""
.if !defined(WITHOUT_PLUGIN)
MAKE_ENV += LIBG_HDRS="${LOCALBASE}/include/glib12" \
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-java
mailing list