summaryrefslogtreecommitdiff
path: root/mail/teapop
diff options
context:
space:
mode:
authorJim Mock <jim@FreeBSD.org>2001-02-09 20:35:19 +0000
committerJim Mock <jim@FreeBSD.org>2001-02-09 20:35:19 +0000
commita0357de7cdb0f4b6ef57ea6dd058895d13943436 (patch)
treedbcfd9545ff9816abf774bdbee479ad504ec8c46 /mail/teapop
parentFix install problems when zh-XFree86-aoutlibs is installed from (diff)
Add a WITH_DRAC knob to enable DRAC support.
Submitted by: Anders Nordby <anders@fix.no>
Notes
Notes: svn path=/head/; revision=38145
Diffstat (limited to 'mail/teapop')
-rw-r--r--mail/teapop/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/mail/teapop/Makefile b/mail/teapop/Makefile
index ba1d553ed93d..07032a4a4b57 100644
--- a/mail/teapop/Makefile
+++ b/mail/teapop/Makefile
@@ -21,6 +21,10 @@ LIB_DEPENDS= pq.2:${PORTSDIR}/databases/postgresql7
LIB_DEPENDS= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
.endif
+.if defined(WITH_DRAC)
+BUILD_DEPENDS= ${PREFIX}/lib/libdrac.a:${PORTSDIR}/mail/drac
+.endif
+
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-flock
@@ -40,6 +44,11 @@ CONFIGURE_ARGS+= --with-pgsql=${PREFIX}/pgsql
CONFIGURE_ARGS+= --with-mysql=${PREFIX}
.endif
+.if defined(WITH_DRAC)
+CONFIGURE_ARGS+= --with-drac=${PREFIX}/lib \
+ --with-dracinc=${PREFIX}/include
+.endif
+
MAN8= teapop.8
.include <bsd.port.mk>