Don't link "-lX11 -lXau -lXdmcp" twice.

From Martin Toft, thanks!
This commit is contained in:
oga 2008-06-19 02:21:30 +00:00
parent 16201ebb8b
commit cb1f8b37f8

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.8 2008/06/14 21:48:54 okan Exp $
# $OpenBSD: Makefile,v 1.9 2008/06/19 02:21:30 oga Exp $
.include <bsd.xconf.mk>
@ -10,8 +10,8 @@ SRCS= calmwm.c screen.c xmalloc.c client.c grab.c menu.c \
CPPFLAGS+= -I${X11BASE}/include -I${X11BASE}/include/freetype2 -I${.CURDIR}
LDADD+= -L${X11BASE}/lib -lXft -lXrender -lX11 -lXau -lXdmcp \
-lfontconfig -lexpat -lfreetype -lz -lX11 -lXau -lXdmcp -lXext
LDADD+= -L${X11BASE}/lib -lXft -lXrender -lX11 -lXau -lXdmcp -lXext \
-lfontconfig -lexpat -lfreetype -lz
MANDIR= ${X11BASE}/man/cat
MAN= cwm.1 cwmrc.5