[MacPorts] #20956: openjdk6: build fails on Snow Leopard with error during "corba-build"
MacPorts
noreply at macports.org
Wed Nov 3 10:24:38 PDT 2010
#20956: openjdk6: build fails on Snow Leopard with error during "corba-build"
------------------------------------+---------------------------------------
Reporter: dmz@… | Owner: landonf@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 1.8.0
Keywords: | Port: openjdk6
------------------------------------+---------------------------------------
Comment(by landonf@…):
I've attached the work-in-progress Portfile I had for openjdk6-b20 (was
incomplete and in the
process of working on when you posted yours -- we can cherry pick any
applicable fixes from
mine, if appropriate. It works around the uname -m issue via setting the
UNAME_MACHINE
environmental variable (but we need to fix this upstream in OpenJDK, too).
In-build downloads are avoidded by pre-fetching the requisite items (jaxp,
jaxws, jaf).
Instead of ucontext.h/stdint.h patches, we can use the following in
vm.make (pulled from later upstream openjdk7 work):
{{{
+# Required for <ucontext.h> and pthread_*np() functions.
ifeq ($(OS_VENDOR), Darwin)
CFLAGS += -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE
endif
}}}
--
Ticket URL: <https://trac.macports.org/ticket/20956#comment:44>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list