aboutsummaryrefslogtreecommitdiffstats
path: root/mail/postilion/files
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2001-10-05 12:31:06 +0800
committerpetef <petef@FreeBSD.org>2001-10-05 12:31:06 +0800
commite518c39027c92789c8f57451d38cb2d262310a9d (patch)
tree5f9245088e2403036bb45cba9460b4d92142a02c /mail/postilion/files
parent379b9275e57d6ca7f40250dfe689cc85b8d78104 (diff)
downloadfreebsd-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.bsd5
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}