From: "Harald Schmalzbauer" <[EMAIL PROTECTED]> > Scot W. Hetzel wrote: > > From: "Dan Naumov" <[EMAIL PROTECTED]> > > > >>Seeing as -pthread support has been removed from -CURRENT breaking > >>_LOTS_ of ports, is it possible to "get it back" into a local source > >>tree ? If so, how ? Thanks in advance. > >> > > > > All you need to do is add: > > > > CONFIGURE_ENV+= PTHREAD_LIBS=${PTHREAD_LIBS} \ > > PTHREAD_CFLAGS=${PTHREAD_CFLAGS} > > > > To the port that is broken by having -pthread support removed, then compile > > the port. > > > > If it still fails to compile, then you'll need to add a sed command to the > > port that replaces -pthread with ${PTHREAD_LIBS} and -DTHREAD_SAFE with > > ${PTHREAD_LIBS} in the configure script or the Makefiles. > > Well, that'd fit my skills, but what is for example with the jdk13? I > have no idea how to fix this one. > Add the following to the post-patch target in the jdk13/Makefile:
@${REINPLACE_CMD} -s "s:-pthread:${PTHREAD_LIBS}:g" ${WRKSRC}/common/Defs.gmk Scot _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "[EMAIL PROTECTED]"