ports/155657: java/openjdk6: missing symlink for include/freebsd/*

Pierre Guinoiseau geekounet at poildetroll.net
Fri Mar 18 11:00:19 UTC 2011


>Number:         155657
>Category:       ports
>Synopsis:       java/openjdk6: missing symlink for include/freebsd/*
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 18 11:00:18 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Pierre Guinoiseau <geekounet at poildetroll.net>
>Release:        FreeBSD 9.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD alderaan.home.poildetroll.net 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r219373: Mon Mar 7 13:46:59 CET 2011 root at alderaan.home.poildetroll.net:/usr/obj/usr/src/sys/ALDERAAN amd64


	
>Description:
Hello,

headers located in $LOCALBASE/openjdk6/include/freebsd/ should be symlinked to
$LOCALBASE/openjdk6/include/. There reason is that jni.h is doing this include:

    #include "jni_md.h"

Therefore the include fail because jni_md.h is in freebsd/ subdirectory. A
symlink fixes the problem. It doesn't seem necessary for jawt_md.h, but it
still can be useful, so that java libs build systems don't have to be OS
specific.
I also noticed Debian's openjdk6 has these symlinks too (to linux/*).

I don't know if this has to be fixed in the openjdk6 build system or in the
port, so I don't have a patch for this.

Thanks.

	
>How-To-Repeat:
Compile anything including jni.h
>Fix:

	


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



More information about the freebsd-ports-bugs mailing list