Add the option to compile in faces support with WITH_FACES.

Submitted by:	Serge Gagnon <gagnon__s@videotron.ca>
This commit is contained in:
Mike Heffner 2003-06-10 03:06:31 +00:00
parent 219b47517d
commit 83a94660f1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=82638
2 changed files with 18 additions and 0 deletions

View File

@ -48,8 +48,23 @@ USE_GNOME+= esound
CONFIGURE_ARGS+= --with-esd-sound
.endif
.if defined(WITH_FACES)
LIB_DEPENDS+= compface:${PORTSDIR}/mail/faces
CONFIGURE_ARGS+= --with-faces
.endif
MAN1= xfmail.1
pre-everything::
@echo
.ifndef(WITH_ESOUND)
@echo "To build with esound support, restart make and define WITH_ESOUND"
.endif
.ifndef(WITH_FACES)
@echo "To build with faces support, restart make and define WITH_FACES"
.endif
@echo
pre-configure:
@(cd ${WRKSRC} && ${SH} autogen.sh); \
${MAKE} LIBTOOLFILES=aclocal.m4 patch-libtool

View File

@ -37,3 +37,6 @@ share/xfmail/sign.xpm
share/xfmail/spell.xpm
share/xfmail/view.xpm
@dirrm share/xfmail
@unexec rm -f %D/lib/libface.a
@unexec rm -f %D/lib/libface.so.0
@unexec rm -f %D/lib/libface.so