Fix compilation (need more includes and an explicit -lX11)
Noticed by: bento
This commit is contained in:
parent
ab5b176fc1
commit
1d3a021b7d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=48454
1 changed files with 3 additions and 2 deletions
|
@ -5,8 +5,8 @@ LOCALBASE?= /usr/local
|
|||
TCL_VER?= 8.3
|
||||
DIR?= lib/postlionlib
|
||||
|
||||
LDADD= -lm -L${LOCALBASE}/lib -lc-client4 \
|
||||
-ltk${TCL_VER:S/.//} -ltcl${TCL_VER:S/.//}
|
||||
LDADD= -lm -L${LOCALBASE}/lib -L${X11BASE} -lc-client4 \
|
||||
-ltk${TCL_VER:S/.//} -ltcl${TCL_VER:S/.//} -lX11
|
||||
.if exists(/usr/lib/libpam.a)
|
||||
LDADD+= -lpam
|
||||
.endif
|
||||
|
@ -15,6 +15,7 @@ CFLAGS+= -I${LOCALBASE}/include/tcl${TCL_VER}
|
|||
CFLAGS+= -I${LOCALBASE}/include/tk${TCL_VER}
|
||||
CFLAGS+= -DNDEBUG -I.
|
||||
CFLAGS+= -I${LOCALBASE}/include/c-client -I${LOCALBASE}/include
|
||||
CFLAGS+= -I${X11BASE}/include
|
||||
|
||||
BINDIR = ${LOCALBASE}/${DIR}
|
||||
|
||||
|
|
Loading…
Reference in a new issue