Push the detection of threading libs support down to ngctl/Makefile
as the latter can be built without threading (with the loss of line editing functionality). Pointed by: glebius
This commit is contained in:
parent
dfaa9125d8
commit
968ed7eedb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=164676
@ -105,7 +105,7 @@ SUBDIR= ac \
|
|||||||
${_ndp} \
|
${_ndp} \
|
||||||
newsyslog \
|
newsyslog \
|
||||||
nfsd \
|
nfsd \
|
||||||
${_ngctl} \
|
ngctl \
|
||||||
nghook \
|
nghook \
|
||||||
nologin \
|
nologin \
|
||||||
ntp \
|
ntp \
|
||||||
@ -263,11 +263,6 @@ _ypset= ypset
|
|||||||
_authpf= authpf
|
_authpf= authpf
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if ${MK_LIBTHR} != "no" || \
|
|
||||||
(${MACHINE_ARCH} != "sparc64" && ${MK_LIBPTHREAD} != "no")
|
|
||||||
_ngctl= ngctl
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.if ${MK_LPR} != "no"
|
.if ${MK_LPR} != "no"
|
||||||
_lpr= lpr
|
_lpr= lpr
|
||||||
.endif
|
.endif
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
# $Whistle: Makefile,v 1.3 1999/01/16 00:10:11 archie Exp $
|
# $Whistle: Makefile,v 1.3 1999/01/16 00:10:11 archie Exp $
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
PROG= ngctl
|
PROG= ngctl
|
||||||
MAN= ngctl.8
|
MAN= ngctl.8
|
||||||
SRCS= main.c mkpeer.c config.c connect.c dot.c name.c show.c list.c \
|
SRCS= main.c mkpeer.c config.c connect.c dot.c name.c show.c list.c \
|
||||||
@ -11,6 +13,11 @@ WARNS?= 3
|
|||||||
NGCTL_NO_LIBEDIT=
|
NGCTL_NO_LIBEDIT=
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
.if ${MK_LIBTHR} == "no" && \
|
||||||
|
(${MACHINE_ARCH} == "sparc64" || ${MK_LIBPTHREAD} == "no")
|
||||||
|
NGCTL_NO_LIBEDIT=
|
||||||
|
.endif
|
||||||
|
|
||||||
DPADD= ${LIBNETGRAPH}
|
DPADD= ${LIBNETGRAPH}
|
||||||
LDADD= -lnetgraph
|
LDADD= -lnetgraph
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user