aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/teapop-devel/Makefile9
-rw-r--r--mail/teapop/Makefile9
2 files changed, 18 insertions, 0 deletions
diff --git a/mail/teapop-devel/Makefile b/mail/teapop-devel/Makefile
index ba1d553ed93d..07032a4a4b57 100644
--- a/mail/teapop-devel/Makefile
+++ b/mail/teapop-devel/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>
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>