summaryrefslogtreecommitdiff
path: root/mail/xfmail
diff options
context:
space:
mode:
authorMike Heffner <mikeh@FreeBSD.org>2003-06-11 03:02:33 +0000
committerMike Heffner <mikeh@FreeBSD.org>2003-06-11 03:02:33 +0000
commit39c2666fe94b2195831bdd26303daefd5d9cd56a (patch)
treee31fff8845e8bf5de767e1f4aaf9f08cf6b7e3fe /mail/xfmail
parentFix the patch again. Self note: Don't do commit before the first cup of (diff)
Add knobs for building with LDAP and NAS support.
Notes
Notes: svn path=/head/; revision=82724
Diffstat (limited to 'mail/xfmail')
-rw-r--r--mail/xfmail/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/mail/xfmail/Makefile b/mail/xfmail/Makefile
index b100cfb079f4..42925080a284 100644
--- a/mail/xfmail/Makefile
+++ b/mail/xfmail/Makefile
@@ -48,11 +48,21 @@ USE_GNOME+= esound
CONFIGURE_ARGS+= --with-esd-sound
.endif
+.if defined(WITH_NAS)
+LIB_DEPENDS+= audio.2:${PORTSDIR}/audio/nas
+CONFIGURE_ARGS+= --with-nas-sound
+.endif
+
.if defined(WITH_FACES)
LIB_DEPENDS+= compface:${PORTSDIR}/mail/faces
CONFIGURE_ARGS+= --with-faces
.endif
+.if defined(WITH_LDAP)
+LIB_DEPENDS+= ldap.1:${PORTSDIR}/net/openldap12
+CONFIGURE_ARGS+= --with-ldap
+.endif
+
MAN1= xfmail.1
pre-everything::
@@ -60,9 +70,15 @@ pre-everything::
.ifndef(WITH_ESOUND)
@echo "To build with esound support, restart make and define WITH_ESOUND"
.endif
+.ifndef(WITH_NAS)
+ @echo "To build with Network Audio System support, restart make and define WITH_NAS"
+.endif
.ifndef(WITH_FACES)
@echo "To build with faces support, restart make and define WITH_FACES"
.endif
+.ifndef(WITH_LDAP)
+ @echo "To build with LDAP support, restart make and define WITH_LDAP"
+.endif
@echo
pre-configure: