On Sun, 26 Nov 2006 11:53:11 +0900 Norikatsu Shigemura <nork_at_FreeBSD.org> wrote: > In the case you said (echo WITHOUT_LIBPTHREAD=yes >> /etc/src.conf), > we cannot get libkse.*. Because lib/libpthread is omitted in > lib/Makefile:-(. Oops, it is right that we cannot get libkse.*. ru is right. I'm sorry. Because, however, I cannot test PTHREAD_CFLAGS/PTHREAD_LIBS clean. So I modifed like following patches. --- usr.bin/Makefile.orig Tue Aug 22 12:22:17 2006 +++ usr.bin/Makefile Sun Nov 26 12:12:09 2006 _at__at_ -266,7 +266,7 _at__at_ .if ${MK_LIBTHR} != "no" _csup= csup .endif -.elif ${MK_LIBPTHREAD} != "no" +.elif ${MK_LIBPTHREAD} != "no" || ${MK_LIBTHR} != "no" _csup= csup .endif .endif --- usr.bin/csup/Makefile.orig Tue Mar 14 12:53:50 2006 +++ usr.bin/csup/Makefile Sun Nov 26 12:17:33 2006 _at__at_ -30,7 +30,7 _at__at_ CFLAGS+= -DHAVE_FFLAGS -DNDEBUG WARNS?= 6 -DPADD= ${LIBCRYPTO} ${LIBZ} ${LIBPTHREAD} -LDADD= -lcrypto -lz -lpthread +DPADD= ${LIBCRYPTO} ${LIBZ} ${LIBTHR} +LDADD= -lcrypto -lz -lthr .include <bsd.prog.mk> --- usr.sbin/Makefile.orig Wed Nov 15 23:57:05 2006 +++ usr.sbin/Makefile Sun Nov 26 12:11:18 2006 _at__at_ -305,7 +305,7 _at__at_ _mptable= mptable _ndiscvt= ndiscvt _pnpinfo= pnpinfo -.if ${MK_LIBPTHREAD} != "no" +.if ${MK_LIBPTHREAD} != "no" || ${MK_LIBTHR} != "no" _pppctl= pppctl .endif _sicontrol= sicontrol --- usr.sbin/cached/Makefile.orig Fri Apr 28 21:03:37 2006 +++ usr.sbin/cached/Makefile Sun Nov 26 12:19:43 2006 _at__at_ -9,8 +9,8 _at__at_ config.c query.c mp_ws_query.c mp_rs_query.c singletons.c protocol.c \ parser.c CFLAGS+= -DCONFIG_PATH="\"${PREFIX}/etc/cached.conf\"" -DPADD+=${LIBM} ${LIBPTHREAD} ${LIBUTIL} -LDADD+=${LIBM} ${LIBPTHREAD} ${LIBUTIL} +DPADD+=${LIBM} ${LIBTHR} ${LIBUTIL} +LDADD+=${LIBM} ${LIBTHR} ${LIBUTIL} LDFLAGS+= -Xlinker --export-dynamic .PATH: ${.CURDIR}/agents --- usr.sbin/ngctl/Makefile.orig Mon Aug 7 23:17:05 2006 +++ usr.sbin/ngctl/Makefile Sun Nov 26 12:27:36 2006 _at__at_ -16,8 +16,8 _at__at_ .if !defined(NGCTL_NO_LIBEDIT) CFLAGS+= -DEDITLINE -DPADD+= ${LIBPTHREAD} ${LIBEDIT} ${LIBTERMCAP} -LDADD+= -pthread -ledit -ltermcap +DPADD+= ${LIBTHR} ${LIBEDIT} ${LIBTERMCAP} +LDADD+= -lthr -ledit -ltermcap .endif .include <bsd.prog.mk> --- usr.sbin/pppctl/Makefile.orig Sun Feb 1 02:28:09 2004 +++ usr.sbin/pppctl/Makefile Sun Nov 26 12:22:34 2006 _at__at_ -3,7 +3,7 _at__at_ PROG= pppctl MAN= pppctl.8 -DPADD= ${LIBPTHREAD} ${LIBEDIT} ${LIBTERMCAP} -LDADD= -lpthread -ledit -ltermcap +DPADD= ${LIBTHR} ${LIBEDIT} ${LIBTERMCAP} +LDADD= -lthr -ledit -ltermcap .include <bsd.prog.mk> --- share/mk/bsd.libnames.mk.orig Sat Sep 30 20:32:46 2006 +++ share/mk/bsd.libnames.mk Sun Nov 26 15:55:35 2006 _at__at_ -119,6 +119,7 _at__at_ LIBPCAP?= ${DESTDIR}${LIBDIR}/libpcap.a LIBPMC?= ${DESTDIR}${LIBDIR}/libpmc.a LIBPTHREAD?= ${DESTDIR}${LIBDIR}/libpthread.a +LIBTHR?= ${DESTDIR}${LIBDIR}/libthr.a LIBRADIUS?= ${DESTDIR}${LIBDIR}/libradius.a LIBREADLINE?= ${DESTDIR}${LIBDIR}/libreadline.a LIBROKEN?= ${DESTDIR}${LIBDIR}/libroken.a --- lib/libpthread/Makefile.orig Sun Nov 26 00:59:59 2006 +++ lib/libpthread/Makefile Sun Nov 26 00:59:23 2006 _at__at_ -7,7 +7,7 _at__at_ # To included legacy CSRG sccsid strings, add -DLIBC_SCCS and -DSYSLIBC_SCCS # (for system call stubs) to CFLAGS below. -DSYSLIBC_SCCS affects just the # system call stubs. -.if ${MACHINE_ARCH} == "sparc64" +.if ${MACHINE_ARCH} == "sparc64" || ${MK_LIBPTHREAD} == "no" LIB=kse .else LIB=pthread --- lib/Makefile.orig Sun Nov 26 19:48:02 2006 +++ lib/Makefile Sun Nov 26 19:47:06 2006 _at__at_ -98,13 +98,13 _at__at_ _libsmb= libsmb .endif -.if ${MK_LIBPTHREAD} != "no" +#.if ${MK_LIBPTHREAD} != "no" _libpthread= libpthread -.endif +#.endif -.if ${MK_LIBTHR} != "no" +#.if ${MK_LIBTHR} != "no" _libthr= libthr -.endif +#.endif .if ${MACHINE_ARCH} != "arm" _libthread_db= libthread_dbReceived on Sun Nov 26 2006 - 09:55:52 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:03 UTC