diff options
author | petef <petef@FreeBSD.org> | 2001-10-05 12:31:06 +0800 |
---|---|---|
committer | petef <petef@FreeBSD.org> | 2001-10-05 12:31:06 +0800 |
commit | e518c39027c92789c8f57451d38cb2d262310a9d (patch) | |
tree | 5f9245088e2403036bb45cba9460b4d92142a02c /mail/postilion/files | |
parent | 379b9275e57d6ca7f40250dfe689cc85b8d78104 (diff) | |
download | freebsd-ports-gnome-e518c39027c92789c8f57451d38cb2d262310a9d.tar.gz freebsd-ports-gnome-e518c39027c92789c8f57451d38cb2d262310a9d.tar.zst freebsd-ports-gnome-e518c39027c92789c8f57451d38cb2d262310a9d.zip |
Fix compilation (need more includes and an explicit -lX11)
Noticed by: bento
Diffstat (limited to 'mail/postilion/files')
-rw-r--r-- | mail/postilion/files/Makefile.bsd | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mail/postilion/files/Makefile.bsd b/mail/postilion/files/Makefile.bsd index 7b3e5efe613b..3aac8a7f3d49 100644 --- a/mail/postilion/files/Makefile.bsd +++ b/mail/postilion/files/Makefile.bsd @@ -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} |