use XIDLE extension (if present)
This commit is contained in:
parent
b74ddcc84b
commit
3c0990e964
|
@ -11,5 +11,11 @@ MAN8 = rpc.rusersd.0
|
|||
DPADD= ${LIBRPCSVC} ${LIBUTIL}
|
||||
LDADD= -lrpcsvc -lutil
|
||||
|
||||
.if exists(/usr/include/X11/extensions/xidle.h)
|
||||
CFLAGS+= -DXIDLE
|
||||
LDADD+= -L/usr/X386/lib -lXext -lX11
|
||||
.endif
|
||||
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
|
|
Loading…
Reference in New Issue